User Input For List Using While Loop | Python Programs

preview_player
Показать описание
In this python programs video tutorial you will learn how to take user input for lists using while loop in detail.

User Input For List Using For Loop:

#PythonPrograms #UserInputList

You can Checkout:
Рекомендации по теме
Комментарии
Автор

This must be the Indian tutorial the meme Lords must have been talking about on the internet! Thank you so very much for your help! ♥

benjyletouffu
Автор

I need to study for an upcoming test, under this comment could you reply with: how you would make this same list but only for numbers (using int). This video was very helpful but i need to know what to change if its just numbers. Thanks!!!!

tylernorman
Автор

Thank you, kid. Subscribed. I am happy to see the youth so prepared. Keep on going! :)

taulguedi
Автор

please can provide the complete code for us to copy? that will be real nice.
Thank you so much.

samsonperera
Автор

Great video! I need help please! How can I execute a python script while passing different values from a html input? All input field have the same name="username" in the html file and I use the form.getvalue("username") to fetch the content from the html file and it works when I put in one value but doesn't when I put in different value in the different input field. I want it to loop through the different values I put in the textbox in html so the python script execute for each username separately.

g.i.productions
Автор

How to convert input string into int!!? Pls explain mam I mean how can I take list values as int rather than taking it as string!!??

gangadharnaidu
Автор

Very good explanation. I did almost the same and it works too.
here is my idea.


names = []
name = 0


while (name < 3):
value = input('Whats your name and surname?\n')
name += 1
if value == 'stop':
break
names.append(value)



print(names)

nelsonluluca