top of page


Variables in Python
A value to a variable can be assigned using the = operator. a = 10 print(a) b = "Wow!" print(b) c = str(a) print(c) d = int(a) print(d) e...
Apr 9, 20231 min read


Assigning multiple variables at once in Python
We can assign values to multiple variables by passing comma separated values as shown below: a, b, c = 10, 20, "Hello World!" print(a)...
Apr 9, 20231 min read
bottom of page