Commit 9c249785 by BellCodeEditor

save project

parent 5ba54bed
Showing with 41 additions and 14 deletions
player=input("请出拳(石头/剪刀/布)")
print("玩家出拳:+piayer")
\ No newline at end of file
# a=int(input("输入木板数量:"))
# b=int(input("输入给的钱数:"))
# q=20*a
# s=b-q
# print("一共"+q+"元,"+"找零"+s+"元")
# a=int(input(""))
# b=int(input(""))
# print(a,"+",b,"=",a+b,sep="")
# print(a,"+",b,"=",a+b,sep="")
# print(a,"+",b,"=",a+b,sep="")
# print(a,"+",b,"=",a+b,sep="")
# print(a,"+",b,"=",a+b,sep="")
# a=int(input("语文成绩"))
# b=int(input("数学成绩"))
# c=int(input("英语成绩"))
# if a+b+c>285:
# print("去游乐园")
# elif 241<=a+b+c<285:
# print("做一天作业")
# else:
# print("做两天作业")
# a=int(input())
# b=int(input())
# if a%b==1:
# print("sdcfsd")
a=input("请输入计算符号:")
b=int(input("请输入第一个数字:"))
c=int(input("请输入第二个数字:"))
if a=="+" :
print(b+c)
elif a=="-":
print(b-c)
elif a=="*":
print(b*c)
elif a=="/" :
print(b/c)
if c==0:
print("vdsf")
\ No newline at end of file
import turtle
pen=turtle.Pen
pen.fillcolor("green")
pen.begin_fill()
for i in range(30):
frowd(200)
right(170)
pen.end_fill()
pen.hideturtle()
turtle.done()
\ No newline at end of file
a=int(input(“请出拳)石头/剪刀/)
b=int(input())
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