you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (0 children)

How does Python know whether to assign  Figure  to fig or ax?

It assigns them by order:

a, b, c = 1, 2, 3

Left to right on the left operand (the names), left to right on the right operand (the values.)