Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

python list input print

list = []
vraag_1 = str(input("Wat is je hobby?"))
list.insert(0, vraag_1)
vraag_2 = str(input("Wat is je hobby?"))
list.insert(1, vraag_2)
vraag_3 = str(input("Wat is je hobby?"))
list.insert(2, vraag_3)
print("Je hobby's zijn", (list))
 
PREVIOUS NEXT
Tagged: #python #list #input #print
ADD COMMENT
Topic
Name
7+1 =