you can also allocate a single value to several


You can also allocate a single value to several variables at the same time. For instance:
X=y=z =1
Now, an integer object is generated with the value 1, and all three variables are assigned to the same memory location. You can also assign multiple objects to multiple variables. For example:
x, y, z = 1, 2, "William"
At this time two integer objects with values 1 and 2 are assigned to variables x and y, and one string object with the value "william" is assigned to the variable c.

Request for Solution File

Ask an Expert for Answer!!
Computer Engineering: you can also allocate a single value to several
Reference No:- TGS0154926

Expected delivery within 24 Hours