Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
deniscostadsc committed Jul 22, 2024
1 parent dd74a53 commit 91ff6f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions solutions/beecrowd/3342/3342.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
for line in sys.stdin:
n = int(line)

black_squares = int(n ** 2 / 2)
black_squares = int(n**2 / 2)
white_squares = black_squares
if not n % 2 == 0:
white_squares += 1

print(f"{white_squares} casas brancas e {black_squares} casas pretas")
print(f'{white_squares} casas brancas e {black_squares} casas pretas')

0 comments on commit 91ff6f6

Please sign in to comment.