BbJLeB

03. Even Powers of 2

Jun 3rd, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.11 KB | None | 0 0
  1. # 03. Even Powers of 2
  2.  
  3. n = int(input())
  4. for i in range (0 ,n+1, 2):
  5.     current = 2 ** i
  6.     print(current)
Add Comment
Please, Sign In to add comment