Question #315

What is the output of the code snippet below?
a = b = 100
print(b)

Assignments of value to multiple variables in one line is possible in Python. both a and b will contain 100. (note.nkmk.me/en/python-multi-variables-values)


Comment on Disqus:

Question difficulty: 🔵🔵🔵🔵🔵


Similar questions: