Commit 4514e66d by BellCodeEditor

save project

parent d6301626
Showing with 15 additions and 19 deletions
import random
key = "我觉,得jw.,ns.d"
jiamiyuju = "周末一起去看动漫展吧!"
keyjeguo = ""
ganrao = "port:@#$%^&"
for i in jiamiyuju:
a = i
a1 = random.choice(key)
a2 = random.choice(key)
b = a+a1+a2
keyjeguo = keyjeguo+b
c = list(keyjeguo)
c.insert(random.randint(0,len(ganrao)),ganrao)
d = "".join(c)
print(d)
\ No newline at end of file
bro1="刘备"
bro1="关羽"
bro1="张飞"
bros["刘备","关羽","张飞"]
bro1=["刘备",161,9.1]
bro1=["关羽",160,8.5]
bro1=["张飞",166,8.3]
bro[1]="刘备"
bro[0]="关羽"
print(bors)
\ No newline at end of file
for i in range(1,10,2):
for j in range(1,i+1):
print(j,"*",i,"=",(i*j),end=" ")
for i in range(1,10):
for j in range(1,i+1,1):
print(j,"/",i,"=",(i/j),end=" ")
print()
\ 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