We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
- Prepare
- Python
- Math
- Triangle Quest 2
- Discussions
Triangle Quest 2
Triangle Quest 2
Sort by
recency
|
1123 Discussions
|
Please Login in order to post a comment
print the correct output but keep getting 'invalid literal found' error. what a stupid exercise.
There are a BUNCH of hidden constraints on this problem:
This question should be re-written, retired, or moved to a code-golf section
Asked for one print statment Asked for on for loop
I'm this close to loosing it with hackerank
Asked for one print statment Asked for on for loop
I'm this close to loosing it with hackerank
this is my solution:
for i in range(1,int(input())+1): print((111111111//10**(9-i))**2)