Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- h = 99
- while h>0: #amíg a szám pozitív
- print(h*2)
- h -= 3 #3-mal csökkentem, mivel a hárommal osztható számok 3-anként követekznek
- #-------#
- for i in range(99, 0, -3): # a léptéked lehet negatív is
- print(i*2)
Add Comment
Please, Sign In to add comment