user_input_num = int(input("please select a number between 0 - 100 !"))
def jokes(moon,ocean,construction,tooth,circus):
moon = print(("Did you hear about the first restaurant to open on the moon? \n It had great food, but no atmosphere."))
ocean = print(("What did one ocean say to the other ocean? \n Nothing, it just waved."))
construction = print(("Do you want to hear a construction joke? \n Sorry, I’m still working on it."))
tooth = print(("What do dentists call their x-rays? \n Tooth pics!"))
circus = print(("Did you hear about the fire at the circus? \n It was in tents!"))
if (user_input_num > 0 and user_input_num < 21):
jokes(moon)
elif (user_input_num > 21 and user_input_num < 41):
jokes(ocean)
elif (user_input_num > 41 and user_input_num < 61):
jokes(construction)
elif (user_input_num > 61 and user_input_num < 81):
jokes(tooth)
elif (user_input_num > 81 and user_input_num < 101):
jokes(circus)
else: print("Error number not within specified range")
user should be able to input number between 1-100 and a joke will be returned , joke does not print help please