Python multiple assignment 🔠

Published: 04 January 2021
on channel: Bro Code
29,136
1.2k

Python multiple assignment tutorial example explained

#python #multiple #assignment

multiple assignment = allows us to assign multiple variables at the same time in one line of code

name = "Bro"
age = 21
attractive = True

name, age, attractive = "Bro", 21, True

print(name)
print(age)
print(attractive)

Spongebob = 30
Patrick = 30
Sandy = 30
Squidward = 30

Spongebob = Patrick = Sandy = Squidward = 30

print(Spongebob)
print(Patrick)
print(Sandy)
print(Squidward)

Bro Code merch store 👟 :
===========================================================
https://teespring.com/stores/bro-code-5
===========================================================


On this page of the site you can watch the video online Python multiple assignment 🔠 with a duration of hours minute second in good quality, which was uploaded by the user Bro Code 04 January 2021, share the link with friends and acquaintances, this video has already been watched 29,136 times on youtube and it was liked by 1.2 thousand viewers. Enjoy your viewing!