About 634,000 results
Open links in new tab
  1. python - Grade Calculator with while loop - Stack Overflow

    Jun 22, 2019 · I need to creat a grade calculator that puts toughater the results of 5 test and avareges them, and gives out the result of the 5 grades, I made the final grade result program, …

  2. Python while Loop (With Examples) - Programiz

    In Python, we use a while loop to repeat a block of code until a certain condition is met. For example, print(number) number = number + 1. Output. In the above example, we have used a …

  3. 8 Python while Loop Examples for Beginners | LearnPython.com

    Feb 5, 2024 · These eight Python while loop examples will show you how it works and how to use it properly. In programming, looping refers to repeating the same operation or task multiple …

  4. Student Marksheet program in python - THECSICENCE

    Apr 23, 2021 · after that, we are taking the input from the user name, fname, number, and college using the input method. after that using for loop, we take the input for the subject marks and …

  5. Python While Loops - W3Schools

    With the while loop we can execute a set of statements as long as a condition is true. Note: remember to increment i, or else the loop will continue forever. The while loop requires …

  6. Students Mark Lists Program in Python [Program With Explanation]

    Here we’ve used the built-in function called class () which creates the student’s mark lists. With the help of the while loop, the program compiles continuously till we enter n as input. The while …

  7. Python Program For Student Grades (With Code & Explanation) - Python

    We can use a while loop to keep asking for input until a valid number is entered. Here’s a snippet of code to achieve this: try: num_assignments = int(input("Enter the number of assignments: …

  8. Python While Loop for Kids is used to execute a block of …

    Python While Loop for Kids is used to execute a block of statements repeatedly until a given condition is satisfied. And when the condition becomes becomes false, the line immediately …

  9. 18 Python while Loop Examples and Exercises - Pythonista Planet

    In Python programming, we use while loops to do a task a certain number of times repeatedly. The while loop checks a condition and executes the task as long as that condition is satisfied. …

  10. python - code that allows to input score of five students but how …

    Feb 16, 2021 · I created a code using Class with a while loop that allows the entry of marks of five students in four subjects. Now I don't know how to add up the avg scores of all students and …

Refresh