how to take input using map in python code example
Example 1: taking input of n integers in single line python in a list
arr = list(map(int, input().split()))
Example 2: python map input
list_of_inputs=list(map(int,input().split()))
Example 3: use map in python to take input
c = map(int,input().split)