Python Coding Introduction Vocabulary
Word Bank
| Python | variable | string | integer |
| float | boolean | print() | input() |
| f-string | if | else | condition |
Fill In the Blanks
1) is a popular programming language that reads like English.
2) A is like a labeled box where you store information.
3) A is text wrapped in quotes, like “Hello”.
4) An is a whole number without decimals, like 42.
5) A is a number with a decimal point, like 3.14.
6) A is either True or False.
7) displays information in the terminal so you can see what your program is doing.
8) asks the user a question and waits for their answer.
9) An starts with the letter f and lets you put variables inside curly braces.
10) runs code only when a is true; runs code when it’s false.
Quick Checks
- Circle the valid variable names:
player_name/player-name/player name/playerName - Draw a line matching data types to examples:
- String
42 - Integer
"Hello" - Float
True - Boolean
3.14
- String
Stretch: Code Detective
Find and circle the mistakes in this code:
player name = "Sam"
age = input("How old are you? )
if age = 13
print(f"You are {age} years old!")
Hint: Look for spaces in names, missing quotes, the wrong equals sign, and a missing colon!