Knowledge organisersVariables and Constants
Use meaningful identifiers.
Variable names should describe what they store. Python uses snake_case (lowercase with underscores) for variables and functions. Good names make code self-documenting.
total_score not tsplayer_name not playerNamei, j)# Good
player_name = "Alice"
total_score = 95
# Bad
p = "Alice"
ts = 95