Method to determine what data type something is?
type( )
Add “” for string
Yes/No: Do you use thousand separators (,) in Python?
No
Declare integer variable example
num_ex = 1
Declare float variable example
float_ex = 73.81
Declare string variable example
candidate = “Diane”
Declare boolean variable example
did_happen = True did_happen = False
Variable names can:
-be any length
-consist of:
+upper case letters
+lower case letters
+digits(0-9)
+underscores
Variable Naming Considerations
Search keywords method
Type: help(“keywords”) in python command line