We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b34df4a commit d0c597aCopy full SHA for d0c597a
Math/TriangleQuest2.py
@@ -6,7 +6,5 @@
6
Created : 15 July 2016
7
Problem : https://www.hackerrank.com/challenges/triangle-quest-2/problem
8
"""
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
+for i in range(1, int(input()) + 1): # More than 2 lines will result in 0 score. Do not leave a blank line also
12
print(((10**i - 1) // 9) ** 2)
0 commit comments