Answers for "what is list in python?"

6

list in python

list = ['apple', 4, 'banana', 'bat', 0.44]

print(list)

#it will print all items in the list
Posted by: Guest on January-11-2022
0

list in python

list = [132, 31212, 12, 2, 12]
print(list[3])
#output: 2
Posted by: Guest on May-25-2021

Python Answers by Framework

Browse Popular Code Answers by Language