Files
openide/python/testData/refactoring/extractmethod/OutNotEmptyStatements.before.py
2012-05-22 22:23:35 +04:00

8 lines
154 B
Python

def f():
a = 10
result = 0
<selection>while a < 10:
result += a * a
a += 1</selection>
print("Sum of squares: " + result)