1/5
Looks like no tags are added yet.
Name | Mastery | Learn | Test | Matching | Spaced | Call with Kai | Chat |
|---|
No analytics yet
Send a link to your students to track their progress
Identifier: a name a programmer gives a piece of data to make the data easier to refer to
a name a programmer gives a piece of data to make the data easier to refer to
Variables
data is subject to change
Constants
data can never change after it is set
If statements (if, if else)
Only prints if condition is true, and provides no output otherwise
If statement example
if(age > 18):
print(“Enjoy your movie”)
if else statement example
if(age > 18):
print(“Enjoy your movie”) #only happen if the condition is true
else:
print(“You are too young for this movie”) #if the condition is false