Answers for "how to take a input in list in python in one line array"

0

how to take array input in python in single line

arr = list(map(int, input().split()))
Posted by: Guest on December-09-2020
0

how to take input for list in one line in python

# Reads two numbers from input and typecasts them to int using 
# map function 
x, y = map(int, input().split())
Posted by: Guest on March-07-2021

Code answers related to "how to take a input in list in python in one line array"

Python Answers by Framework

Browse Popular Code Answers by Language