This website requires JavaScript.
Explore
Help
Register
Sign In
chenxuan
/
python
Watch
1
Star
0
Fork
0
Code
Issues
Pull Requests
Actions
Packages
Projects
Releases
Wiki
Activity
Files
f73d5deacbbd1015939aaac00c3a7a3e2df78cd0
python
/
pythonProject
/
循环语句
/
for
/
for3_1.py
T
6 lines
74 B
Python
Raw
Normal View
History
Unescape
Escape
no message
2026-10-09 11:29:28 +08:00
s
=
0
for
i
in
range
(
1
,
101
):
s
+=
i
if
i
==
100
:
print
(
s
)
Reference in New Issue
Copy Permalink