Commit d389608b by BellCodeEditor

auto save

parent da57183d
import turtle
t=turtle.Pen()
t.pencolor('pink')
t.left(105)
t.circle(70,90)
t.left(90)
t.circle(70,90)
t.left(60)
t.circle(70,90)
t.left(90)
t.circle(70,90)
t.left(60)
t.circle(70,90)
t.left(90)
t.circle(70,90)
t.left(60)
t.circle(70,90)
t.left(90)
t.circle(70,90)
t.left(60)
t.circle(70,90)
t.left(90)
t.circle(70,90)
\ No newline at end of file
class hero:
def __init__(self):
self.level=1
self.hp=300
self.attack=2000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
yase = hero()
print("yase的血量值为:"yase.hp)
print("yase的攻击力为"yase.attack)
\ No newline at end of file
score = {"语文":91,"数学":88,"英语":85}
for k,v in score.items():
print(k,v)
\ No newline at end of file
print(3+8/4+False)
\ No newline at end of file
sb1 = {"语文":91,"数学":88,"英语":85}
sb2 = {"语文":97,"数学":98,"英语":90}
sb3 = {"语文":95,"数学":100,"英语":93}
score = {"悟空":sb1,"诺依":sb2,"小贝":sb3}
while True:
print("输出结果,推出输q")
name = input("姓名:")
print("*"* 30)
if name in score:
score = score[name]
for k,v in info.items():
print(k,v)
print("*"* 30)
else:
print("不对,再输一次")
\ No newline at end of file
import turtle
t=turtle.Pen()
t.pencolor('pink')
t.left(105)
t.circle(70,90)
t.left(90)
t.circle(70,90)
t.left(60)
t.circle(70,90)
t.left(90)
t.circle(70,90)
t.left(60)
t.circle(70,90)
t.left(90)
t.circle(70,90)
t.left(60)
t.circle(70,90)
t.left(90)
t.circle(70,90)
t.left(60)
t.circle(70,90)
t.left(90)
t.circle(70,90)
\ No newline at end of file
import turtle
t=turtle.Pen()
n=turtle.Pen()
m=turtle.Pen()
t.pencolor('red')
t.fd(80)
n.left(90)
n.pencolor('blue')
n.fd(80)
m.right(90)
m.pencolor('green')
m.fd(80)
\ 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