Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

Triangle Quest

# 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
Comment

PREVIOUS NEXT
Code Example
Python :: Download video from a direct URL with Python 
Python :: copy files to a directory using text file 
Python :: django admin override save 
Python :: Cast image to float32 
Python :: Python NumPy swapaxis Function Example 
Python :: how to check substring in python 
Python :: how to read panda column 
Python :: convert .py to .exe 
Python :: windows error message python 
Python :: python int to string 
Python :: python sort dict by value 
Python :: matplotlib vertical tick labels 
Python :: python dictionary append 
Python :: power function python 
Python :: Support Vector Machine (SVM) classifier 
Python :: python cache 
Python :: 3d array into 2d array python 
Python :: get last 3 things in a list python 
Python :: how to merge two pandas dataframes on a column 
Python :: find string in string python 
Python :: Python get all keys from nested dictionary 
Python :: python is dict 
Python :: pass context data with templateview in django 
Python :: use the index of a dataframe for another dataframe 
Python :: extract name of file from path python 
Python :: upload to test pypi 
Python :: print random integers 
Python :: df to sql mysql 
Python :: how to redirect in django 
Python :: python how to find circumference of a circle 
ADD CONTENT
Topic
Content
Source link
Name
3+3 =