0
Do you MUST receive a list? Or the input can be separated by... spaces for example? You can do something like: s = input("write here ") s = s.split() split returns a list of every word (or whatever) separated by an space. print( "hello I am using python".split() ) >>> ["hello", "I", "am", "using", "python"]
12th Jan 2018, 9:53 PM
SebastiĂĄn Zapata
SebastiĂĄn Zapata - avatar