Answers for "how to input a list in python with user"

12

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

list input python

a = list(map(eval,input("please input numbers:").split(",")))
Posted by: Guest on October-22-2021

Code answers related to "how to input a list in python with user"

Python Answers by Framework

Browse Popular Code Answers by Language