Advertisement
RavenChrstn

Untitled

Sep 24th, 2021
754
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.11 KB | None | 0 0
  1. N = int(input())
  2.  
  3. if 5 < N < 2000:
  4.     for x in range(1, N+1):
  5.         if x % 2 == 0:
  6.             print(f"{x}^2 = {x**2}")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement