From 618489a23b7974a446079e6af14f2d2a1c1544e4 Mon Sep 17 00:00:00 2001 From: Captain ALM Date: Wed, 30 Nov 2022 15:58:09 +0000 Subject: [PATCH] Test assign same value to multiple vars. --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index eb36beb..02ddbbb 100644 --- a/main.py +++ b/main.py @@ -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)