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
|
1136 Discussions
|
Please Login in order to post a comment
for i in range(1,int(input())+1): print(((10**i)//9)**2)
this also works
for i in range(1,int(input())+1): print(((10**i)//9)*((10**i)//9))
any issue with ?
print(sum([10**index for index in range(i)])**2)
This works but it says illatral string
Another solution is
For Python3