Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- broj = int(input("Unesi broj(2, 4, 8, 16, 32, 64..........:"))
- i=1
- while i<broj :
- i=i*2
- if broj==i:
- print(broj," ",broj*2," ",broj*4," ",broj*8)
- else:
- print("Nevazeci broj!")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement