python code for i in items code example
Example 1: creating a list in python
myList = [value,value,value] #note that you can use any amount of value
#you don not have to use value
Example 2: making lists in python
# list with numbers
list = [10, 20, 30]
# list with strings
list = ["john", "kai", "albert"]
# mixed data
list = ["john",1 ,True ]