Skip to content

Commit d0c597a

Browse files
authored
fixed the solution
1 parent b34df4a commit d0c597a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Math/TriangleQuest2.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,5 @@
66
Created : 15 July 2016
77
Problem : https://www.hackerrank.com/challenges/triangle-quest-2/problem
88
"""
9-
for i in range(
10-
1, int(input()) + 1
11-
): # More than 2 lines will result in 0 score. Do not leave a blank line also
9+
for i in range(1, int(input()) + 1): # More than 2 lines will result in 0 score. Do not leave a blank line also
1210
print(((10**i - 1) // 9) ** 2)

0 commit comments

Comments
 (0)