Commit 0859259b by BellCodeEditor

auto save

parent f6a882b6
Showing with 6 additions and 0 deletions
...@@ -16,3 +16,8 @@ print(sum) ...@@ -16,3 +16,8 @@ print(sum)
for i in range(100): for i in range(100):
if (i + 1)%2 == 1: if (i + 1)%2 == 1:
print(i + 1,end = " ") print(i + 1,end = " ")
print()
#输出1-100内所有的偶数
for i in range(100):
if (i + 1)%2 == 0:
print(i + 1 ,end= " ")
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment