Respuesta :

def zipZapZop():

   number = int(input("Enter the number: "))

   dictionary = {3: "zip", 5: "zap", 7: "zop"}

   amount = 0 #amount of non-divisible numbers by 3, 5 and 7

   for key, value in dictionary.items():

       if(number%key == 0): #key is the number

           print(value) #value can be or zip, or zap, or zop

       else: amount += 1 #the number of "amount" increases every time, when the number is not divisible by 3, or 5, or 7

   if(amount == 3): print(number)    #if the number is not by any of them, then we should print the number

zipZapZop()