Commit 38335b0d by BellCodeEditor

save project

parent 1bc28a30
Showing with 35 additions and 15 deletions
import turtle
pen=turtle.Pen()
pen.goto(250,250)
pen.speed(0)
for i in range(-500,500):
pen.forward(i)
pen.left(99)
turtle.done
dict_hero={"猴3":10,"猴1":21,"猴5":22,"猴队长":29,"猴7":30}
dict_hero["猴7"]=32
a=dict_hero["猴队长"]
dict_hero["猴10"]=25
print(a)
print(dict_hero)
\ No newline at end of file
A={"可口可乐":3,"旺仔牛奶":4,"农夫山泉":1,"辣条":3,"巴西烤肉":2,"果冻":4,"乐事":5,"奥利奥":10,"巧克力":6,}
a=input("你要买什么?")
if a in A:
print("你买了"+a+"用了"+str(A[a])+"元")
if A[a]>=3:
print("你真浪费")
else:
print("没有,滚蛋。瞅啥瞅?")
import random import random
for i in range(1000):
# 私钥 a=random.randint(0,9)
key = "u和我hi和共和党和芙蓉防护几点回家符号互动和符号DHL和任何你今年多大的版本感染了" b=random.randint(0,9)
# 要加密语句 c=random.randint(0,9)
message = "诺依,周末一起去看动漫展吧!" d=random.randint(0,9)
e="" e=random.randint(0,9)
# 请使用私钥key,对message进行加密 f=random.randint(0,9)
for i in range(len(message)): j=random.randint(0,9)
a=message[i] h=random.randint(0,9)
b=random.choice(key) r=random.randint(0,9)
c=random.choice(key) print(str(a)+str(b)+str(c)+str(d)+str(e)+str(f)+str(j)+str(h)+str(r))
d=a+b+c
e=e+d
print(e)
\ 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