Recent content by acurate

  1. A

    Python program to sort negative numbers and even numbers?

    Homework Statement I have to make a program that would end when entered a 0 and print out negative numbers and even numbers separately but what I have so far is not working. The Attempt at a Solution numbers = [] negative_numbers = [] while True: number = input("Enter a number: ")...
  2. A

    How to change a two-dimensional array print into normal?

    Homework Statement I made a two-dimensional array program, but now I need some help to alter the program in the print zone. The Attempt at a Solution import sys students = [] grades = [] while True: student = input ("Enter a name: ").replace(" ","") if...
  3. A

    Python: How to show entered input results when entering a 0

    Homework Statement So, I have a program, which I am finishing but I apparently ran into a problem. In the program I have to make that whenever I enter a 0 in the input, the program will stop and print the results. Here's the program before I continue saying anything else: The Attempt at a...
  4. A

    Python: how to break two times to results

    Homework Statement I need a program, which would break and show results once a 0 is entered in input name and input grade. I figured how to do that in name, but how do I add another break? Like grade !="0"? Homework EquationsThe Attempt at a Solution students = [] grades = [] while True...
  5. A

    Fix Python Print Problem: Get Student Grade Averages

    Homework Statement I made a program that would some up a grade average. Everything seems fine, the only problem, when I run the program at the end it prints out like this: Jack 5 10 6 7.0 Stacy 10 8 9 9.0 Jack 5 10 6 7.0 Stacy 10 8 9 9.0 Jack 5 10 6 7.0 Stacy 10 8 9 9.0 How can I make the...
  6. A

    How to continue this Python program?

    Homework Statement I need a program where the program needs to ask me a name of a student and then a grade. 1) The program needs to end if a 0 is entered. 2) If the name has a number in it, the program should ask the user to enter another name. 3) After the name is correctly entered the program...
  7. A

    Asking a user for a correct input until they give a correct response

    Thank you for your reply. I just have one question, do I need to use another loop for starting the grade input or use the same while?
  8. A

    Asking a user for a correct input until they give a correct response

    No, no I added (in PYTHON) right when you mentioned it. :D It's okay.
  9. A

    Asking a user for a correct input until they give a correct response

    Oh! I completely forgot this is Python! Thank you for noticing. Geez, I'm clumsy.
  10. A

    Asking a user for a correct input until they give a correct response

    Homework Statement I need a program (in PYTHON), which would ask a user his name and grade, then print them both. 1) If the name has a number it, the program has to ask the same question again until the name is entered correctly 2) The same with the grade. If it's higher than 10, the program...
  11. A

    Python checking numbers in a given name

    Homework Statement I need to write a Python program, which would: 1) Ask for a name (input function) 2) Keep asking for the name if it is not entered correctly(if it has a digit in it) 3) If the name is entered correctly it will print the name Homework Equations How should I continue the...
  12. A

    Help with Python Program: Calculate Student Grades & Averages

    I really need help with a big Python program. Our professor has been MIA for the whole term and now we need to submit a program. I thought I was doing and learning fine on my own, but the program simply does not work for me. I need it till Thursday and I am ripping my hair out because I cannot...
  13. A

    Windows Vista - Internet/Firewall doesn't work

    I knooow but somehow my sister really likes it. Don't ask why. I don't know myself but this is a really serious problem.
  14. A

    Windows Vista - Internet/Firewall doesn't work

    My sister just came into my room asking for help, when I came to her room she told me that her computer froze and she waited for 20 minutes for it to unstuck but it didn't and she turned it off, when she turned it on her Internet was not working and neither did her Firewall. I tried turning on...
  15. A

    Python help with sequences and elements?

    Hahah, thank you for trying to help, though. Really appreciate it, man!
Back
Top