Input in python | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Input in python

How can i get list input in python3?

26th Apr 2021, 9:51 AM
Fawlid
Fawlid - avatar
4 Answers
+ 3
Fawlid First, create an empty list. Next, accept a list size from the user (i.e., the number of elements in a list) Run loop till the size of a list using a for loop and range() function. use the input() function to receive a number from a user. https://pynative.com/JUMP_LINK__&&__python__&&__JUMP_LINK-accept-list-input-from-user/
27th Apr 2021, 10:08 PM
❤️😍Prerana😍❤️
❤️😍Prerana😍❤️ - avatar
26th Apr 2021, 9:54 AM
你知道規則,我也是
你知道規則,我也是 - avatar
0
Tnx
26th Apr 2021, 10:31 AM
Fawlid
Fawlid - avatar