Home »
Python »
Python Variables MCQs
How can you assign one value to different variables?
10. How can you assign one value to different variables?
- a, b, c = 100
- a = b = c = 100
- a = b = c == 100
Answer: B) a = b = c = 100
Explanation:
a = b = c = 100, this is how you can assign a single value to multiple variables.