Python - 求平方和


n = int(input('please fill in an integer number :'))

c = 0        
i = 0
while c < n:
    c = c + i*i
    i = i+1
    
print('最終總和值是', c)    
print('最小值是', i-1)

English writing practice 2025-5/11

After graduating from university and working for several years, I developed the mindset that a job should be related to one’s interests. Peo...