Skip to content
murmot

Results for “python while loop example pdf code list open site:mail.python.org html”

  • mail.python.org

    [Tutor] pausing + raw_input vs input

    implicite remain in while loop. try-except is explained in the tutorial: doc/tut/node10.html. You will need to learn this anyway (in case not already done :-) Michael. Example for input (at interactive interpreter): >>> j = input("hey, experts, give me an object! ") hey, experts, give me an object!

  • mail.python.org

    [Tutor] while loop

    So did your code print the string 10 times? When asking for help, it's useful to show what you tried, and what was expected, and what actually resulted.You're supposed to use iteration, specifically the while loop. Your while loop doesn't quit after 10 times, it keeps going.

  • mail.python.org

    Help me with Python please (picture)

    If you want to learn how to write code, and you are a beginner, use the simplest text editor on your computer, learn to open a shell and run python interactively and run programs that you saved with your text editors. Be glad for simplicity.