Commit e3e7e381 by BellCodeEditor

auto save

parent 5574ec88
Showing with 22 additions and 7 deletions
a=int(input("停车时间: "))
if a<=2:
print(5)
else:
b=5+(a-2)*2
print(b)
\ No newline at end of file
n=int(input("正整数: "))
c=0
for i in range(1,n+1,1):
a=i%10
b=(i-a)//10
if a==1:
c=c+1
if b==1:
c=c+1
print(c)
\ No newline at end of file
# 利用write()帮助悟空给诺依回信吧~
import turtle
Pen=import.Pen()
Pen.write("海默说:\n你没救了"font("Times",30,"normal"))
Pen.hideturtle()
turtle.done
\ No newline at end of file
xq=["1--星期一","2--星期二","3--星期三","4--星期四","5--星期五","6--星期六","7--星期日"]
a=int(input("输入数字: "))
print(xq[a-1])
\ 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