Answers for "assigning multiple variables in one line in python"

0

assigning multiple variables in one line in python

a, b, c, d = 4, "geeks", 3.14, True
print(a) #prints 4
print(b) #prints geeks
print(c) #prints 3.14
print(d) #prints True
Posted by: Guest on June-09-2021

Code answers related to "assigning multiple variables in one line in python"

Python Answers by Framework

Browse Popular Code Answers by Language