Commit 43470574 by BellCodeEditor

auto save

parent c3f2167b
Showing with 74 additions and 0 deletions
"""
list1 = ["a","b","c","d"]
print(list1)
list1[1] = "x"
print(list1)
"""
"""
dict1 ={'name':'Jack',"Age":"20","Sex":"男"}
print(dict1)
dict1['tel']='1334733'
print(dict1)
print(dict1['tel'])
"""
"""
set1 = {1,2,3,4,5}
print(set1)
set1.remove(3)
print(set1)
sum = 0
i = 1
while i < 101:
sum = sum + i
i = i + 1
print("1-100之间的和:", sum)
x =1
while x < 10:
x = x + 1
if x == 7:
break
print(x) #输出结果:2,3,4,5,6
list1 = ['a','b','c','d']
for i in list1:
print(i)
"""
#list1 = [1,2,3,4,5,6,7,8,9,10]
for i in range(101):
print(i)
if i == 72:
break
\ No newline at end of file
"""
name = "悟空 "
hello ="非常的感谢您"
print(name + hello)
i = 15
name = "悟空"
print(type(i))
print(type(name))
"""
import turtle
pen = turtle.Pen()
pen.speed(1000)
pen.color("red")
pen.fillcolor("red")
pen.begin_fill()
for i in range(36):
pen.shape("turtle")
pen.forward(200)
pen.right(170)
pen.end_fill()
pen.hideturtle()
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