Answers for "python assign multiple variables from list"

0

assigning multiple values of list to multiple variables

fruits = ["apple", "banana", "cherry"]

x, y, z = fruits

print(x)

print(y)

print(z)
Posted by: Guest on June-03-2021

Code answers related to "python assign multiple variables from list"

Python Answers by Framework

Browse Popular Code Answers by Language