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
# 和你的小伙伴用列表讲讲桃园结义的故事,并说说这其中运用了哪些列表知识: import turtle
# 来,我给你起个头~ screen=turtle.Screen()
# 从前啊,有三个bro,分别是:刘备、关羽、张飞... size=screen.textinput("你要","多大?")
bro1="关羽" size = int(size)
bro2="刘备" pen=turtle.Pen()
bro3="" for i in range(1,6):
bro1=["关羽",160,8.5] pen.forward(size)
bro2=["刘备",161,9.1] pen.right(144)
bro3=["张飞",166,8.3] turtle.done()
bros[0]="关羽" \ No newline at end of file
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
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