Skip to main content

Assigning Single Value to Multiple Variables

 Note: It is used to assign single value to multiple variables.

Program:

a=b=c=d=100

print(a)

print(b)

print(c)

print(d)

Output:

100

100

100

100

Comments