while truekeep asking until the player enters number print('how many snails will racemax:'max_num_snails response input('' if response isdecimal() numsnailsracing int(response if numsnailsracing <max_num_snails break print('enter number between and'max_num_snails enter the names of each snail snailnames [list of the string snail names for in range( numsnailsracing ) while truekeep asking until the player enters valid name print('enter snail #str( "' name:" name input('' if len(name= print('please enter name ' elif name in snailnames print('choose name that has not already been used ' else break the entered name is acceptable snailnames append(name display each snail at the start line print('\ print('start((finish_line len('start')'finish') print('|((finish_line len('|')'|') snailprogress { for snailname in snailnames print(snailname[:max_name_length] print('@ ' snailprogress[snailname time sleep( the pause right before the race starts while truemain program loop pick random snails to move forward for in range(random randint( numsnailsracing / )) randomsnailname random choice(snailnames snailprogress[randomsnailname+ check if snail has reached the finish line if snailprogress[randomsnailname=finish_line print(randomsnailname'has won!' sys exit( (!experimentadd cheat here that increases snail' progress if it has your name time sleep( (!experimenttry changing this value (!experimentwhat happens if you comment this line out print('\ snail race