Commit 5051796d by BellCodeEditor

save project

parent 8ab53adb
Showing with 13 additions and 12 deletions
import random name = input("你的名字?")
message = "诺依,周末一起去看动漫展吧!" power = int(input("你的臂力"))
key = '唧唧复唧唧,木兰当户织。不闻机杼声,唯闻女叹息。' list_hero = ['1',10,'2',21,'3',22,'4',29,'5',30]
for i in message: for i in range(len(list_hero))
str1 = i if :
str2 = random.choice(key) dict_
str3 = random.choice(key)
text = str1+str2+str3 \ No newline at end of file
c="".join(text)
print(c)
list_hero = ['a',27,'b',47,'e',30,'r',70]
list_hero = ['a',27,'b',47,'e',30,'r',70]
dict_hero = {'a':27,'b':47,'e':30,'r':70}
print(len(list_hero))
print(len(dict_hero))
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