Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- a = 100
- i = 1
- while ( i<a ) :
- i = i+1
- if i % 3 == 0 and i % 7 == 0:
- print ('Kukareku')
- elif i % 3 == 0 and i % 7 != 0:
- print ('Kuka')
- elif i % 7 == 0:
- print('reku')
- else:
- print(i)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement