Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
bellcode
/
lesson6-1
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
c750d192
authored
Sep 09, 2022
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auto save
parent
6b4de833
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
144 additions
and
43 deletions
diy.py
diy.py
View file @
c750d192
...
@@ -66,66 +66,107 @@
...
@@ -66,66 +66,107 @@
import
random
# import random
a
=
'咖啡骄傲是否卡莎回复第拉横幅来划分喇叭安徽发垃圾卡不放假拉黄瓜富含腐败发红包案件客户风流寡妇克格勃放假啊改变付款给罚款功夫压抑哈佛阿康回复爱看给法库功夫也看过富有快感赴英国开发噶法国雅高发'
# a = '咖啡骄傲是否卡莎回复第拉横幅来划分喇叭安徽发垃圾卡不放假拉黄瓜富含腐败发红包案件客户风流寡妇克格勃放假啊改变付款给罚款功夫压抑哈佛阿康回复爱看给法库功夫也看过富有快感赴英国开发噶法国雅高发'
b
=
'我国天启坦克研究成功,装备了等离子机光炮,宇宙合金防护装甲,副武器是高射速重型电子机关枪。'
# b = '我国天启坦克研究成功,装备了等离子机光炮,宇宙合金防护装甲,副武器是高射速重型电子机关枪。'
h
=
'逞其不备放大招。'
# h = '逞其不备放大招。'
c
=
''
# c = ''
d
=
'!@#$
%
^^&*$
%
^
%
/*-/-@
%
@
%
$#^
%
^&^#
%#
$'
# d = '!@#$%^^&*$%^%/*-/-@%@%$#^%^&^#%#$'
fjgh
=
'李白找地鼠,炸成2百五。'
# fjgh = '李白找地鼠,炸成2百五。'
a1
=
'khlhglahglahamanahgh ghghahguahguahgjbgjahgiuahgkahbgakbgagfaugiaegbhg;oajgkagpueaitghe'
# kf = '开的什么机?波音747。'
a2
=
'hfalfhafaohflahflahflsahfaiuh'
# while True:
a3
=
'kshglshglsehtsinyhlsnglsihlshlshlghslgslgbslhglsgblushguslghulshglshglsh;stpestn;tgesl'
# f = input("碧玉妆成一树高,")
a4
=
'lgksgjs;ogsgsugspmgshugsjgksehnghgsiluhglsihgiulghsuhgshls'
# fghj = input("除何日当午,地雷埋下土。")
while
True
:
# fk = input("唧唧复唧唧,木兰开飞机。")
f
=
input
(
"碧玉妆成一树高,"
)
# if f == h and fghj == fjgh and fk == kf:
fghj
=
input
(
"除何日当午,地雷埋下土。"
)
# for i in b:
a5
=
input
(
"暗号"
)
# str1 = i
a6
=
input
(
"暗号"
)
# str2 = random.choice(a)
a7
=
input
(
"暗号"
)
# str3 = random.choice(a)
a8
=
input
(
"暗号"
)
# next=str1+str2+str3
if
f
==
h
and
fghj
==
fjgh
and
a1
==
a5
and
a6
==
a2
and
a3
==
a7
and
a8
==
a4
:
# c=next+c
for
i
in
b
:
# e = list(c)
str1
=
i
# indext = random.randint(1,20)
str2
=
random
.
choice
(
a
)
# e.insert(indext,d)
str3
=
random
.
choice
(
a
)
# g = ''.join(e)
next
=
str1
+
str2
+
str3
# print(g)
c
=
c
+
next
# break
e
=
list
(
c
)
# else:
indext
=
random
.
randint
(
1
,
20
)
# print("暗号错误,请重新输入")
e
.
insert
(
indext
,
d
)
g
=
''
.
join
(
e
)
print
(
g
)
# # a=int(input())
break
# # b=int(input())
else
:
# # c=a+b
print
(
"暗号错误,请重新输入"
)
# # print(a+b)
# # print(c)
# # a=int(input())
# # b=int(input())
# # c=int(input())
# # d=(a+b)*c
# # print(d)
# # a=int(input())
# # b=int(input())
# # c=int(input())
# # d=(a+b)/c
# # print(d)
# a=int(input())
# a=int(input())
# b=int(input())
# b=int(input())
# c=a+b
# c=a//b
# print(a+b)
# d=a%b
# print(c)
# print(c,d)
# a=int(input())
# a=int(input())
# b=int(input())
# b=int(input())
# c=int(input())
# c=(b-2*a)/2
# d=(a+b)*c
# d=a-c
# print(d)
# print(c,d)
# import random
# a = '骄傲是否哈利和弗拉和福建安徽弗利萨回复'
# b = input("请输入加密字符:")
# c = ""
# d = '!@#$%^&*())(*&^%$#@!)'
# for i in b:
# str1 = i
# str2 = random.choice(a)
# str3 = random.choice(a)
# next = str1+str2+str3
# c = next+c
# e = list(c)
# indext = random.randint(1,20)
# e.insert(indext,d)
# g = ''.join(e)
# print(g)
# a=int(input())
# a=int(input())
# b=int(input())
# c=int(input())
# c=int(input())
# d=(a+b)/c
# b=int(input())
# d=(a+b)*c
# print(d)
# print(d)
# while True:
# a=int(input())
# a=int(input())
# b=int(input())
# b=int(input())
# c=a//b
# c=a//b
...
@@ -135,8 +176,67 @@ while True:
...
@@ -135,8 +176,67 @@ while True:
# while True:
# a=int(input())
# a=int(input())
# b=int(input())
# b=int(input())
#
c=(b-2*a
)/2
#
c=(b-a*2
)/2
# d=a-c
# d=a-c
# print(c,d)
# print(c,d)
# a=int(input())
# b=a*a
# print(b)
# f=int(input())
# c=5*(f-32)/9
# print("%.5f"%c)
# r=float(input())
# b=r*2
# c=3.14159*b
# d=3.14159*r*r
# print("%.4f %.4f %.4f"%(b,c,d))
# r1=int(input())
# r2=int(input())
# r=1/(1/r1+1/r2)
# print("%.2f"%r)
# a=int(input())
# b=int(input())
# c=b*100/a
# print("%.3f%%"%c)
# a=float(input())
# b=float(input())
# c=a*b/2
# print("%.2f"%c)
a
=
int
(
input
())
b
=
int
(
input
())
c
=
(
87
*
a
+
85
*
b
)
/
(
a
+
b
)
print
(
"
%.2
f"
%
c
)
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment