User Input For List Using While Loop | Python Programs

แชร์
ฝัง
  • เผยแพร่เมื่อ 26 ต.ค. 2024

ความคิดเห็น • 22

  • @tylernorman7558
    @tylernorman7558 ปีที่แล้ว +1

    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!!!!

  • @benjyletouffu
    @benjyletouffu 2 ปีที่แล้ว +1

    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! ♥

  • @samsonperera9872
    @samsonperera9872 ปีที่แล้ว +1

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

  • @sinarahimian3013
    @sinarahimian3013 2 ปีที่แล้ว +1

    thank you i can finally do it.

  • @rubi2836
    @rubi2836 2 ปีที่แล้ว

    Thank u!!

  • @taulguedi637
    @taulguedi637 2 ปีที่แล้ว

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

  • @nelsonluluca
    @nelsonluluca 2 ปีที่แล้ว

    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?
    ')
    name += 1
    if value == 'stop':
    break
    names.append(value)

    print(names)

  • @beegeeeee
    @beegeeeee 3 ปีที่แล้ว +2

    Great job , keep up !

  • @gravilliarubusta6376
    @gravilliarubusta6376 2 ปีที่แล้ว

    great video

  • @Morethingss
    @Morethingss 3 ปีที่แล้ว +1

    thank you

  • @starwar1276
    @starwar1276 3 ปีที่แล้ว +1

    awesome

  • @g.i.7productions217
    @g.i.7productions217 3 ปีที่แล้ว

    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.

  • @gangadharnaidu9349
    @gangadharnaidu9349 3 ปีที่แล้ว

    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!!??

    • @ctrl-alt-del0
      @ctrl-alt-del0 3 ปีที่แล้ว

      You need to enter int before input, for example i want to ask the user to enter his age only in numericals:
      your_age = int(input("Enter you age: ")

  • @swapnilbhosale1m784
    @swapnilbhosale1m784 ปีที่แล้ว

    Break outside loop