Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Help with loops
#4
The code you posted has a syntax error because you missed a close-parenthesis on the first line.

Your assignment says to use a loop to read the values from the user, but you don't use a loop until after you've defined grades_list. Stick to trying to define grades_list fully before writing any additional code. Once you're confident you have that, then you should continue on, but it's a common beginner (bad) habit to write new code without verifying earlier code.
Reply


Messages In This Thread
Help with loops - by freckles - Dec-07-2018, 07:10 PM
RE: Help with loops - by ichabod801 - Dec-07-2018, 07:16 PM
RE: Help with loops - by freckles - Dec-07-2018, 07:26 PM
RE: Help with loops - by micseydel - Dec-07-2018, 08:08 PM
RE: Help with loops - by freckles - Dec-07-2018, 08:41 PM
RE: Help with loops - by ichabod801 - Dec-07-2018, 08:56 PM
RE: Help with loops - by micseydel - Dec-07-2018, 08:59 PM
RE: Help with loops - by ichabod801 - Dec-07-2018, 09:04 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020