How To Assign Multiple Variables in The One Line/Same Line in Python Programming Language

 How To Assign Multiple Variables in the Same Line in Python :


Code :a,b,c = True,25,"String"

print(a)
print(b)
print(c)

Output :

Comments

Popular posts from this blog

Write A Python Program, Create n Empty Dictionary Allow 4 Friends To, Enter Their Favorite Programming Language As values and User Keys as their Name Assume That The Names Are Unique.

Write Python Program To Store Seven Fruits Name In a List Enter By The User