Variables Flashcards
1
Q
Is Python a dynamic or static typed language?
A
Dynamic
2
Q
How do you do multiple variable assignments on the same line in Python?
A
n, m = 0, “abc”
3
Q
If you want to increment a variable in Python, what are your options?
A
n += 1
n = n + 1
4
Q
True or False: using n++ is valid to increment a variable in Python
A
False
5
Q
What is the null equivalent called in Python?
A
None