Commit 78dc020f by BellCodeEditor

save project

parent 9c78067e
Showing with 90 additions and 0 deletions
import turtle
pen=turtle.Pen()
pen.fillcolor("red")
pen.begin_fill()
for i in range(36):
pen.forward(200)
pen.right(170)
pen.end_fill()
turtle.done()
\ No newline at end of file
# a=int(input("a的数:"))
# b=int(input("b的数:"))
# c=int(input("c的数:"))
# d=0
# a1=a//3
# m=a%3
# a=a1
# b=b+a1
# c=c+a1
# d=d+m
# b1=b//3
# m=b%3
# b=b1
# a=a+b1
# c=c+b1
# d=d+m
# c1=c//3
# m=c%3
# c=c1
# a=a+c1
# b=b+c1
# d=d+m
# print(a,b,c,d)
# a,b,c=0,0,0
# a,b,c=24//3,24/7/3,24//3
# l=[a,b,c]
# m=0
# for i in range(2,-1,-1):
# for j in range(3):
# if i!=j:
# l[j]=l[j]//2
# m=m+l[j]
# l[i]=24-m
# m=0
# print(l)
# l=[]
# for i in range(310000,320000):
# a=i%10
# b=(i%100)//10
# if a==b:65,97,122
# if i%16==0 and i%46==0:
print(ord("*"))
a=input('第一行')
b=input('第二行')
c=input('第三行')
a=a+b+c
m=0
l={}
for i in a:
if 65<=ord(i)<=90:
m=chr(ord(i)+32)
print(1,i)
elif 97<=ord(i)<=122:
m=i
print(2,i)
else:
continue
if i in l:
l[i]+=1
else:
l[i]=1
for i in l:
print(i,end='\t')
print()
for i in l.values():
print(i,end='\t')
import turtle
pen=turtle.Pen()
pen.fillcolor("red")
pen.begin_fill()
for i in range(36)
pen.forword(200)
pen.right(170)
pen.end_fill()
turtle.done()
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