Commit b9b77252 by BellCodeEditor

save project

parent 2c4f06e4
Showing with 17 additions and 0 deletions
list1=[1,2,3]
list2=[4,5,6]
#print(list1+list2)
# list.append()#追加到末尾
# list.insert()#根据索引插入值
# list.pop()#根据索引删除值
# len(list)#列表长度
# min(list)#列表最小值
# max(list)#列表最大值
# tup#元组
# set#集合
# print("{1},{0},".format("hello","word"))
# list1=["hello","word"]
# print("{0[0]},{0[1]}".format(list1))
c=2*3.14*20
print("圆的周长:{:.2f}".format(c))
\ 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