You are viewing a single comment's thread. Return to all comments →
for i in range(1, int(input()) + 1): print(((10 ** i - 1) // 9) ** 2)
Seems like cookies are disabled on this browser, please enable them to open this website
Triangle Quest 2
You are viewing a single comment's thread. Return to all comments →
for i in range(1, int(input()) + 1): print(((10 ** i - 1) // 9) ** 2)