Week 6 Chapter 7 Flashcards
1
Q
In Python if you make two variables equal. Do they have to stay that way?
A
No they don’t
2
Q
What is multiple assignment
A
It’s when you make more than one assignment to the same variable
3
Q
Is assignment operation a statement of equality
A
No it isn’t
4
Q
If values of variables change frequently what can happen?
A
Code can be hard to read and debug
5
Q
What is an update in multiple assignments ?
A
New value of variable depends on the old
6
Q
What does the comma do at the end of a statement?
A
Suppressed the new line