Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Average score
#2
You return too early. Return after the while block, instead of inside of it. As it stands now, it'll return whatever the first score is, every time, without adding any of them together.
Reply


Messages In This Thread
Average score - by MartinEvtimov - Mar-29-2017, 04:19 PM
RE: Average score - by nilamo - Mar-29-2017, 04:53 PM
RE: Average score - by Larz60+ - Mar-29-2017, 05:04 PM
RE: Average score - by zivoni - Mar-29-2017, 10:13 PM
RE: Average score - by MartinEvtimov - Apr-02-2017, 06:15 PM
RE: Average score - by ichabod801 - Apr-02-2017, 07:35 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to update score value? Mavoz 5 2,575 Nov-08-2022, 12:37 AM
Last Post: Mavoz

Forum Jump:

User Panel Messages

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