map function in python input code example
Example 1: python map input
list_of_inputs=list(map(int,input().split()))
Example 2: use map in python to take input
c = map(int,input().split)
list_of_inputs=list(map(int,input().split()))
c = map(int,input().split)