mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-04 08:51:02 +07:00
I updated test data accordingly and removed now obsolete tests about skipping preceding comments.
13 lines
247 B
Python
13 lines
247 B
Python
def f():
|
|
a = 10
|
|
result = 0
|
|
result = sum_squares(a, result)
|
|
print("Sum of squares: " + result)
|
|
|
|
|
|
def sum_squares(a_new, result_new):
|
|
while a_new < 10:
|
|
result_new += a_new * a_new
|
|
a_new += 1
|
|
return result_new
|