Commit 35ff76f2 by BellCodeEditor

auto save

parent 501c255c
Showing with 16 additions and 3 deletions
neme=input("输入名字") import turtle
print(neme+"你好啊") p=turtle.Pen()
\ No newline at end of file p.fd(100)
p.lt(90)
p.fd(100)
p.lt(135)
p.fd(146)
turtle.done()
dic={2:5,3:6,4:9}
c1=sorted(dic.items())
print(c1)
c2=sorted(dic.items(),key=lambda x:x[0])
print(c2)
c3=sorted(dic.items(),key=lambda x:x[1])
print(c3)
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