Answers for "python get inputs as list"

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

Python Answers by Framework

Browse Popular Code Answers by Language