Which of the following are valid variable names?
a) hello
b) hi!
c) my number
d) my_number
e) isThisOkay
f) andThis?
Lines a, d, and e are valid.
Create a variable to answer each question! Make sure the names make sense and to use the correct data type.
a) How old are you?
b) Do you like python?
c) What is 27 divided by 5?
d) What is your favorite color?
e) Who is the coolest member of Teach La?
Answers may vary, but the following is an acceptable model:
a) age = 10
b) doesLikePython = True
c) result = 27 / 5
d) favoriteColor = "blue"
e) coolestMember = "Trick Question! Every member is the coolest member 😎 check out our team page for more info!"