Question d’entretien chez Apple

different question: Write a code, which performs the '7 boom' game.

Réponse à la question d'entretien

Utilisateur anonyme

11 sept. 2019

for x in range(100): - if x %7 ==0: print('boom') elif x>10 and int(x/10)%7==0 or x%10==7 : print('boom') else: print(x)