Answers for "list program in python"

6

how to create a list in python

#creating a list
create_list = ["apple", "banana", "cherry"]
print(create_list)
Posted by: Guest on September-30-2020
6

list in python

myfavouritefoods = ["Pizza", "burgers" , "chocolate"]
print(myfavouritefoods[1])
#or
print(myfavouritefoods)
Posted by: Guest on January-26-2021
1

list in python

# List 
a = []
# Dictionary
b = {}
# Tuple
c = ()
# Set
d = {1,2,3}
Posted by: Guest on August-07-2021

Code answers related to "list program in python"

Python Answers by Framework

Browse Popular Code Answers by Language