Jan-04-2019, 10:04 PM
If you have a list like below and now need to print a message for grades over 65 saying “You passed!” and another message saying “Sorry, you failed.” for grades below 65 how would you put that into the script? I think it should be written with a for loop but I’m stuck.
grades = [57, 98, 100,55, 60, 62, 54, 88, 92, 97, 74]
grades = [57, 98, 100,55, 60, 62, 54, 88, 92, 97, 74]