Commit fa27143b by BellCodeEditor

save project

parent 07858a54
Showing with 49 additions and 0 deletions
This source diff could not be displayed because it is too large. You can view the blob instead.
hy={'话费返还':45,'提纽':67,'桃花潭':756,'和犹太人':9999999999}
print(hy)
hy['和犹太人']=1000
print(hy)
hy['含义']=65
print(hy)
\ No newline at end of file
y={'辣条':5,'可乐':1,'薯片':90,'雪碧':7,'冰红茶':5}
k=input('你想吃什么?')
if k in y:
print('你想买的是'+'需要支付'+str(y[k])+'元')
else:
print('缺货!!!')
\ No newline at end of file
import random
f='霰弹枪!@&*&)%@#……微软模56gh'
r=input("加密语句:")
uuki=''
yt='234134565TETRERTVFERG3wfdsfy5f35dduhgter5f'
for i in r:
h1=i
h2=random.choice(f)
h3=random.choice(f)
te=h1+h2+h3
uuki=uuki+te
w=list(uuki)
y=random.randint(0,len(r))
w.insert(y,yt)
b="".join(w)
print(b)
v=input('姓名')
f=int(input('力量'))
hy=['话费返还',45,'提纽',67,'桃花潭',756,'和犹太人',9999999999]
for i in range(len(hy)):
if i%2==1 and hy[i]>=f:
hy.insert(i-1,v)
hy.insert(i,f)
break
print(hy)
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