Triangle Quest

37

# Triangle Quest in Python - Hacker Rank Solution
# Python 3

for i in range(1,int(input())): 
#More than 2 lines will result in 0 score. Do not leave a blank line also
# Triangle Quest in Python - Hacker Rank Solution START
    print(int(i * 10**i / 9))
# Triangle Quest in Python - Hacker Rank Solution END

Comments

Submit
0 Comments