HackerRank Python - Triangle Quest
You are given a positive integer N. Print a numerical triangle of height N-1 like the one below:
for i in range(1, int(input())): # More than 2 lines will result in 0 score. Do not leave a blank line also
print(i * ((pow(10, i) - 1) // 9))
Please click on the like button if it worked
Solution not working or have any suggestions? Please send an email to [email protected]
donate a cup of tea :)
Join Our Facebook Group
Popular HackerRank Python Solutions
Codesadda.com is your home of programming solutions, tutorials, video tutorials and much more.
Sign Up for our weekly newsletter to get update about new content.