Commit 90695203 by BellCodeEditor

auto save

parent 56a54120
Showing with 13 additions and 33 deletions
for i in range(1,14):
\ No newline at end of file
# 和你的小伙伴用列表讲讲桃园结义的故事,并说说这其中运用了哪些列表知识:
# 来,我给你起个头~
# 从前啊,有三个bro,分别是:刘备、关羽、张飞...
bro1="关羽"
bro2="刘备"
bro3=""
bro1=["关羽",160,8.5]
bro2=["刘备",161,9.1]
bro3=["张飞",166,8.3]
bros[0]="关羽"
bros[1]="刘备"
b.pop(2)
b.remove("张飞")
b.pop(-1o'try:
哦提及今日统一体痛苦和i放过机会干嘛看下关乎地方哦噗韩国互相u'o'hu's'd'f'pi'u'h'i'hu'pu'x'd'fi'o'h'd'h剧场畜牧局看下怎么就开始迅速化解科学家,v;。i;空间;l'g'l'g'k
except expression as identifier:
pass)
b = ['关羽']
b.append("刘备")
b.append("张飞")
b.insert(1,"刘备")
b.insert(2,"张飞")
c=["刘备","张飞"]
b.extend(c)
d = ['刘备','曹操'','吕布']
c=d[1:]
b.extend(c)
print(b)
\ No newline at end of file
import turtle
screen=turtle.Screen()
size=screen.textinput("你要","多大?")
size = int(size)
pen=turtle.Pen()
for i in range(1,6):
pen.forward(size)
pen.right(144)
turtle.done()
\ 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