Python Forum
calculating and accumulating scores
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
calculating and accumulating scores
#3
Line 7 needs to be indented to be inside the loop
Put something inside the quotes on your print statements so you can see the result
Your if comparison in line 9 compares (once you fix as above) score with 7. The elif compares rating with 7 (once you again fix). I don't think you mean that.
Reply


Messages In This Thread
calculating and accumulating scores - by szap1977 - Oct-05-2020, 09:31 PM
RE: calculating and accumulating scores - by jefsummers - Oct-06-2020, 12:15 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Find Average of User Input Defined number of Scores DustinKlent 1 4,377 Oct-25-2019, 12:40 AM
Last Post: Larz60+
  [NLTK] How to calculate lexical diversity scores in Jupyter? vanicci 4 11,480 Sep-01-2018, 09:43 AM
Last Post: vanicci

Forum Jump:

User Panel Messages

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