Skip to content

Commit

Permalink
Merge pull request #329 from pedrosqra/patch-1
Browse files Browse the repository at this point in the history
Adição da questão 1073
  • Loading branch information
vinifarias authored Oct 19, 2019
2 parents 7d72260 + 7daee21 commit 2dd9487
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions prog1/implementacoes/uri/1073
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# -*- coding: utf-8 -*-
N = int(input())
pares = []

for valor in range(N+1):
if valor % 2 == 0:
pares.append(valor)
for valor in pares:
if valor != 0:
a = valor**2
print('{}^2 = {}'.format(valor,a))

0 comments on commit 2dd9487

Please sign in to comment.