Sign in
◑
Theme
android
/
platform
/
tools
/
idea
/
studio-master-dev
/
.
/
python
/
testData
/
refactoring
/
extractmethod
/
OutNotEmptyStatements2.after.py
blob: e0bad462716adf9a18c7a6fdad8a8b9c1f5000c7 [
file
]
def
f
():
a
=
1
a
,
result
=
sum_squares
(
a
)
print
(
"Sum of squares: "
+
a
+
" = "
+
result
)
def
sum_squares
(
a_new
):
result
=
0
while
a_new
<
10
:
result
+=
a_new
*
a_new
a_new
+=
1
return
a_new
,
result