Python make a list program

Publicado em: 05 Janeiro 2017
no canal de: Knowledge Hub
813
13

What I used to make my videos:
● Microphone: http://amzn.to/2yF8dUy
● Pop filter: http://amzn.to/2ArPIQu
● Webcam: http://amzn.to/2ydEvSf
● Video editing software: http://amzn.to/2Aq3nrj

👉 I am a participant in the Amazon Services LLC Associates Program, an affiliate advertising program designed to provide a means for sites to earn advertising fees by advertising and linking to amazon.com
___

Within this Python video, I will show you how to make your own program that makes and shows list.

LINK: https://www.dropbox.com/sh/6rw4qmef4l...
(Go to coding, python, and list. This link and what is in it is for you the viewers.)

https://github.com/crua9/Python-list-...

CODE: (Note it had to be edited to fit in here, this code doesn't work)

make a list to hold onto our items
the_list = []

def show_help():
print out instructions on how to use the app
print("What do you want to add to the list?")
print("""
Enter 'DONE' to end the program.
Enter 'HELP' for this help.
Enter 'SHOW' to see your current list.
""")

def show_list():
print out the list
print("Here's your list:")

for item in the_list:
print(item)

def add_to_list(new_item):
add new items to our list
the_list.append(new_item)
print("Added {}. List now has {} items.".format(new_item, len(the_list)))

show_help()

while True:
ask for new items
new_item = input("")

be able to quit the app
if new_item == 'DONE':
break
elif new_item == 'HELP':
show_help()
continue
elif new_item == 'SHOW':
show_list()
continue
add_to_list(new_item)

show_list()


_-_-Please feel free to ask questions, and sub_-_

Email↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓
CraigBennettII@techreviewsandhelp.com

Links that help us if you check them out
↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓ ↓
Linkedin:   / craigbennettii  
Reddit:   / techreviewsandhelp  
Git: https://github.com/crua9/
Our website: http://techreviewsandhelp.com
Our channel:    / techrhelp  
Donate: https://www.paypal.com/cgi-bin/webscr...
Patreon/donate:   / techreviewsandhelp  
  / techrhelp  
__
#music #asmr #computer #technology


Nesta página do site você pode assistir ao vídeo on-line Python make a list program duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário Knowledge Hub 05 Janeiro 2017, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 813 vezes e gostou 13 espectadores. Boa visualização!