Python Forum
calculating and accumulating scores
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
calculating and accumulating scores
#2
Please use python tags in your post for the code. Otherwise the indentation is difficult to see.

is is a type of python comparison and > (and similar) is a type of comparison. You don't use them together, so is > will not make sense. Fix that (and the odd parentheses on the elif line) and you should be a lot closer.
Reply


Messages In This Thread
calculating and accumulating scores - by szap1977 - Oct-05-2020, 09:31 PM
RE: calculating and accumulating scores - by bowlofred - Oct-05-2020, 09:50 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Find Average of User Input Defined number of Scores DustinKlent 1 7,945 Oct-25-2019, 12:40 AM
Last Post: Larz60+
  [NLTK] How to calculate lexical diversity scores in Jupyter? vanicci 4 13,341 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