Commit b4be7270 by BellCodeEditor

auto save

parent add688e3
Showing with 32 additions and 3 deletions
a=input("数字:")
print(a+"5")
\ No newline at end of file
i = 5 # 行 import turtle
j = 3 # 列 p=turtle.Pen()
# 使用变量i和j,代替乘法算式里面的元素,打印出单个乘法算式 for i in range(3):
p.forward(100)
p.left(120)
p.penup()
p.goto(0,60)
p.pendown()
for i in range(3):
p.forward(100)
p.right(120)
turtle.done()
A=["星期一","星期二","星期三","星期四","星期五","星期六","星期日"]
a=input("今天星期几呀?")
if a=="星期一":
print("今天学钢琴")
elif a=="星期三":
print("今天学编程")
elif a=="星期六":
print("今天学英语")
else:
print("今天学国学")
\ No newline at end of file
a=input("创作师你叫什么呀?")
import random
list=["重力沙摆沙盘","星球大战磁悬浮音响","镭射投影虚拟键盘","磁悬浮地球仪灯","微软XBOX体感游戏主机","什么都不是","mmp","mmp的手机"]
b=random.choice(list)
print("恭喜你,幸运的创造师——"+a+"获得了"+b)
\ 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