Test assign same value to multiple vars.

This commit is contained in:
Captain ALM 2022-11-30 15:58:09 +00:00
parent 7d88557176
commit 618489a23b
Signed by: alfred
GPG Key ID: 4E4ADD02609997B1
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
#Cast testing
x, y, z = str(3), int(3), float(3)
x = y = z = str(3)
print(type(x), " : ", x)
print(type(y), " : ", y)
print(type(z), " : ", z)