Answers for "how to accept input as list pyhton"

1

how to accept input as list pyhton

#you can take it like this.
print("Please enter the value of list separated by space")
list_input = list(input())
#you can check the list by following
print(list_input)
Posted by: Guest on April-20-2022

Python Answers by Framework

Browse Popular Code Answers by Language