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