
Python
Presentation
•
Computers
•
3rd Grade - Professional Development
•
Practice Problem
•
Medium
Stephen Chen
Used 18+ times
FREE Resource
6 Slides • 3 Questions
1
Python: Part 1
by Stephen Chen
2
Introduction: What is Python?
Python is a high-level general purpose programming language. Python constructs as well as its object-oriented approach aim to help programmers write clear, logical code for small and large-scale projects.
3
Coding Basics
print - The print function put text on screen.
x = 5 - This creates a variable that's whose value is 5.
MyString = ["_", "_"] - Creates a string named MyString.
4
Creating "Hello, World!" in Python
Download Python here: https://www.python.org/downloads/ (Copy and Paste)
Type in: print ("Hello, World!")
Output: Hello, World!
5
Variables in Python
Variables store 1 value in Python.
Type in: x = 1
print (x)
Output: 1
To change a variable, type in...
<variable name> = <new value>
Type in: x = 2
print (x)
Output: 2
6
Strings in Python
Strings store multiple values in Python.
Type in: MyString = [1, 2, 3, 4, 5]
print (MyString)
Output:
[1, 2, 3, 4, 5]
7
Multiple Choice
Quiz: What is a string?
A variable that stores multiple values.
A variable that stores 1 value.
A function that outputs words/numbers.
A function that asks user input.
8
Multiple Choice
Quiz: What is a variable?
A function that inputs a module.
A variable that stores 1 value.
A function that outputs words/numbers.
A function that asks user input.
9
Multiple Choice
How do you create words in Python?
Using the if then function
Using a variable
Using the import function
Using the print function
Python: Part 1
by Stephen Chen
Show answer
Auto Play
Slide 1 / 9
SLIDE
Similar Resources on Wayground
6 questions
Exp Cultura Fisica
Presentation
•
KG
6 questions
addition
Presentation
•
KG
6 questions
MAC 2 | Lesson 5-7 | Wrap it Up
Presentation
•
KG
8 questions
Tics
Presentation
•
KG
8 questions
Lecția 1-Lucruri de bază 1
Presentation
•
3rd Grade - Professio...
9 questions
La CLAVE de la confianza
Presentation
•
3rd Grade - University
7 questions
LAS PARTES DE UN LIBRO
Presentation
•
KG
6 questions
Would you rather...
Presentation
•
KG - Professional Dev...
Popular Resources on Wayground
20 questions
STAAR Review Quiz #3
Quiz
•
8th Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
6 questions
Marshmallow Farm Quiz
Quiz
•
2nd - 5th Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
20 questions
Inferences
Quiz
•
4th Grade
19 questions
Classifying Quadrilaterals
Quiz
•
3rd Grade
12 questions
What makes Nebraska's government unique?
Quiz
•
4th - 5th Grade