Do it like this, with a semicolon:
>>> var1 = 10;var21 = 20
Or use:
>>> var1, var21 = 10, 20
3
solved why multiple variable assignment in python terminal throwing syntax error? [closed]
Do it like this, with a semicolon:
>>> var1 = 10;var21 = 20
Or use:
>>> var1, var21 = 10, 20
3
solved why multiple variable assignment in python terminal throwing syntax error? [closed]