EESTEC Code
def competition_duration(participant_choice):
match participant_choice:
case “8 hours”:
print(“long challenge accepted”)
case “3 hours”:
print(“short challenge accepted”)
Are you an interested company?
def team_requirements(students):
number = 0
while number < 3:
if students.status[number] != “enrolled”:
print(“all team members must be students”)
return false
if students.age[number] > 27:
print(“all team members must be under 27”)
return false
print(“Your team can participate”)
