python read input seperate by line code example Example: how to take input in python3 separated by space inp = list(map(int,input().split()))