list input code example Example: reading a list in python strings = list(map(str,input().split())) numbers = list(map(int, input().split()))