Answers for "how to take input in python in 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

Code answers related to "how to take input in python in list"

Python Answers by Framework

Browse Popular Code Answers by Language