This website requires JavaScript.
Explore
Help
Register
Sign In
Luthics
/
XJTU_Python
Watch
1
Star
0
Fork
You've already forked XJTU_Python
0
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
1fe9b28299
XJTU_Python
/
homework
/
2
/
14.py
9 lines
100 B
Python
Raw
Blame
History
ans
=
0
a
=
2
b
=
1
for
i
in
range
(
20
)
:
ans
+
=
a
/
b
a
=
a
+
b
b
=
a
-
b
print
(
round
(
ans
,
2
)
)
Reference in New Issue
View Git Blame
Copy Permalink