Commit a536810b by BellCodeEditor

auto save

parent 6a058c61
Showing with 23 additions and 13 deletions
dict = {}
dict['师父'] = '唐三藏'
dict['大师兄'] = '孙行者'
print(dict)
name="刘强"
power=66
hero=["赵一",30,"丁二",37" 孙五"52"王猛"89"周亮"98]
for i in range(len(hero)):
if i%2==1and hero[i]>=power:
hero.insert(i-1,name)
hero.insert(i,power)
print()
\ No newline at end of file
username="python"
userpassword="123456"
while True:
name = input("请输入用户名:")
passwork = input("请输入密码:")
if name == username and passwork == userpassword
print"登录成功"
print("错")
print("欢迎")
\ No newline at end of file
import random
key="666,演都不演了"
message="奶龙"
for i in message:
str1=i
str2=random.choice(key)
str3=random.choice(key)
tex=str1+str2+str3
print(text)
\ 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