Answers for "how to get the input of a list in python from the user"

11

get list input from user in python

a = list(map(int,input("nEnter the numbers : ").strip().split()))
Posted by: Guest on September-17-2020
0

how to take list input in python

for i in range(0, n): 
    ele = int(input()) 
  
    lst.append(ele)
Posted by: Guest on October-01-2020

Code answers related to "how to get the input of a list in python from the user"

Python Answers by Framework

Browse Popular Code Answers by Language