map function for input in python 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)