Skip to content

Commit

Permalink
fixed the solution
Browse files Browse the repository at this point in the history
  • Loading branch information
arsho authored Feb 9, 2023
1 parent b34df4a commit d0c597a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Math/TriangleQuest2.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,5 @@
Created : 15 July 2016
Problem : https://www.hackerrank.com/challenges/triangle-quest-2/problem
"""
for i in range(
1, int(input()) + 1
): # More than 2 lines will result in 0 score. Do not leave a blank line also
for i in range(1, int(input()) + 1): # More than 2 lines will result in 0 score. Do not leave a blank line also
print(((10**i - 1) // 9) ** 2)

0 comments on commit d0c597a

Please sign in to comment.