python lists tutorial explained
#python #lists #list
# list = used to store multiple items in a single variable
food = ["pizza","hamburger","hotdog","spaghetti","pudding"]
food[0] = "sushi"
#food.append("ice cream")
#food.remove("hotdog")
#food.pop()
#food.insert(0,"cake")
#food.sort()
#food.clear()
for x in food:
print(x)
––––––––––––––––––––––––––––––
Up In My Jam (All Of A Sudden) by - Kubbi https://soundcloud.com/kubbi
Creative Commons — Attribution-ShareAlike 3.0 Unported— CC BY-SA 3.0
Free Download / Stream: http://bit.ly/2JnDfCE
Music promoted by Audio Library https://youtu.be/tDexBj46oNI
––––––––––––––––––––––––––––––
#python #lists #list
# list = used to store multiple items in a single variable
food = ["pizza","hamburger","hotdog","spaghetti","pudding"]
food[0] = "sushi"
#food.append("ice cream")
#food.remove("hotdog")
#food.pop()
#food.insert(0,"cake")
#food.sort()
#food.clear()
for x in food:
print(x)
––––––––––––––––––––––––––––––
Up In My Jam (All Of A Sudden) by - Kubbi https://soundcloud.com/kubbi
Creative Commons — Attribution-ShareAlike 3.0 Unported— CC BY-SA 3.0
Free Download / Stream: http://bit.ly/2JnDfCE
Music promoted by Audio Library https://youtu.be/tDexBj46oNI
––––––––––––––––––––––––––––––
- Category
- Bro Code
- Tags
- python lists, lists python, python list
Be the first to comment



