Commit 547cffa2 by BellCodeEditor

auto save

parent ab085e92
Showing with 24 additions and 0 deletions
今天的题:把1100之间的所有奇数找出并输出来。
i=1
while i<=100:
if(i+2)==0:
print(i)
i<=1
i=1
while i<=100:
if(i%2)==0:
print(i)
i<=1
\ No newline at end of file
name=("请输入您的名字:")
xuehao=("请输入您的学号:")
print("名字:+name+","学号:+xuehao+")
\ No newline at end of file
i=1
diy=0
while i <=100:
diy+=i
i+=1
print(diy)
\ 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