runtime
32 / 500
question 32 Conditional Logic · easy

Gold members earn too little

A loyalty scheme gives Gold members (1000 points or more) 3 points per dollar, Silver members (500 or more) 2, and everyone else 1. A Gold member who spent 40 should earn 120 points, but the program says 80. Fix it.

Keeppoints = 1200 and spend = 40 as the first lines. Check runs your program again with other members
PrintsPoints earned: 120
Expected output1 line
  1. 1Points earned: 120

Loading your progress…

Gold members earn too little — Python practice · Runtime