Advertisement
Guest User

Untitled

a guest
Oct 10th, 2019
174
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.28 KB | None | 0 0
  1. saut= int(input())
  2. position_cible= int(input())
  3. position_courante=saut
  4. while position_courante % 100 != 0 :
  5.     position_courante=position_courante+saut
  6. if position_courante==position_cible:
  7.     print(position_courante)
  8. elif position_courante == 0 :
  9.     print('Pas trouvé')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement