mirror of
https://github.com/Xevion/the-office.git
synced 2025-12-10 14:08:56 -06:00
10 lines
255 B
Python
10 lines
255 B
Python
episode_counts = [6, 22, 23, 14, 26, 24, 24, 24, 23]
|
|
|
|
|
|
def check_validity(season: int, episode: int):
|
|
return (1 <= season <= 9) and (1 <= episode <= episode_counts[season])
|
|
|
|
|
|
def default(value, other):
|
|
return value if value is not None else other
|