user_input = input() 
while user_input != 'end': 
    try: 
        #Possible ValueError 
        divisor = int(user_input)
        #Possible ZeroDivisionError 
        print(60 // divisor) #Truncates to an integer 
    except ValueError: 
        print('v')
    except ZeroDivisionError: 
        print('z')
    user_input = input() 
print('OK')

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: