Python Tricks #24 - Taking a string inputboyanpro (54)in #programming • 5 years ago # For example "1 2 3 4" and return [1, 2, 3, 4] # Remember list being returned has integers in it. # Don't use more than one line of code. >>> result = map(lambda x:int(x) ,raw_input().split()) 1 2 3 4 >>> result [1, 2, 3, 4] #python #pytricks #dev #coding