Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,22 @@ def main():
else:
break

rest_input = input("Do you want to rest before the next event? (yes/no) ")
if rest_input.strip().lower() == 'yes':
time_period = input("What type of rest? (short/long) ")
my_sports.rest(time_period)

user_input = input("Do you want to play the 5000 meter level? (yes/no) ")
if user_input.strip().lower() == 'yes':
my_sports.district()
else:
break

rest_input = input("Do you want to rest before the final match? (yes/no) ")
if rest_input.strip().lower() == 'yes':
time_period = input("What type of rest? (short/long) ")
my_sports.rest(time_period)

user_input = input("Do you want to play the final match? (yes/no) ")
if user_input.strip().lower() == 'yes':
my_sports.state()
Expand Down