Before Pygame enters the picture, this module locks in the core Python skills every future game leans on: variables and data types, control flow, loops, functions and scope, and object-oriented programming — classes, objects, inheritance and polymorphism.
input() always return?self refer to?label = "Win" if score >= 100 else "Try Again".while loop and a for i in range(n) loop?while loop that runs "forever". Explain in your own words why a game needs a loop shaped this way instead of code that just runs once from top to bottom.1-B 2-B 3-A 4-B | 5 == 6 continue 7 = label = "Win" if score >= 100 else "Try Again" 8 = while repeats until a condition becomes false (unknown iteration count); for+range repeats an exact, known number of times 9 = __init__ | 10 = A game must keep checking input/updating/drawing every single frame indefinitely until the player quits, which is exactly what a repeating loop does — running once top-to-bottom would only show a single static frame