Search
 
SCRIPT & CODE EXAMPLE
 

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))
Comment

PREVIOUS NEXT
Code Example
Python :: python get name of vlue 
Python :: .format python 3 
Python :: python call function x number of times 
Python :: r char to numeric dataframe all columns 
Python :: python round 1 decimal place 
Python :: series to dataframe 
Python :: axis labels python 
Python :: axios django post data 
Python :: python milisegundos 
Python :: how to open pygame 
Python :: python garbaze collection 
Python :: how to drop duplicate columns in pandas that dont have the same name? 
Python :: python append to list 
Python :: a int and float. python 
Python :: pandas access multiindex column 
Python :: python towers of hanoi recursive 
Python :: python for loop increment 
Python :: python sort an array 
Python :: python tkinter button dynamic button command 
Python :: color plt 
Python :: check if item exists in list python 
Python :: get first element of tuple python 
Python :: pafy doc 
Python :: Math Module pow() Function in python 
Python :: __dict__ python? 
Python :: pandas series 
Python :: remove whitespace from data frame 
Python :: isupper() in python 
Python :: python pyaudio error 
Python :: python string encode 
ADD CONTENT
Topic
Content
Source link
Name
5+2 =