Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
bellcode
/
lesson1_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
c5d3c354
authored
Jun 20, 2021
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
5b92384e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
27 deletions
father.py
hello.py
father.py
0 → 100644
View file @
c5d3c354
import
turtle
pen
=
turtle
.
Pen
()
screen
=
turtle
.
Screen
()
answer
=
screen
.
textinput
(
"tiltle"
,
"提问"
)
screen
.
bgcolor
(
"yellow"
)
pen
.
pensize
(
5
)
pen
.
circle
(
140
,
360
)
pen
.
fillcolor
(
"red"
)
pen
.
begin_fill
()
#pen.write("1\n 2",font=("宋体",20,"normal"))
pen
.
left
(
60
)
pen
.
right
(
45
)
pen
.
penup
()
pen
.
goto
(
-
70
,
180
)
pen
.
pendown
()
pen
.
circle
(
18
,
360
)
pen
.
penup
()
pen
.
goto
(
70
,
180
)
pen
.
pendown
()
pen
.
circle
(
18
,
360
)
turtle
.
done
()
\ No newline at end of file
hello.py
View file @
c5d3c354
import
random
import
turtle
cnm
=
[
'2'
,
'4'
,
'8'
,
'16'
,
'32'
,
'64'
]
print
(
"欢迎来到憨批游戏QAQ!"
)
s
=
input
(
'见证你到底是不是憨批的时候到了:'
)
a
=
random
.
choice
(
cnm
[
0
:
6
])
while
True
:
if
s
.
isdigit
():
if
int
(
s
)
>
1
and
int
(
s
)
<=
64
:
if
s
==
a
:
print
(
"恭喜您成为新一代狒狒之王!@A@"
)
break
if
s
!=
a
:
print
(
'你个憨批!LOL'
)
s
=
input
(
'有本事你他妈这次答对!LOL'
)
# if s > a:
# print('大了!LOL')
# s=input('有本事你他妈这次答对!LOL')
# if s!=2 and s!=4 and s!=8 and s!=16 and s!=32 and s!=64:
# if s<a:
# print('小了!LOL')
# s=input('有本事你他妈这次答对!LOL')
# if s>100 or s<100:
# print('你他妈有毒是不是!LOL')
# s=input('有本事你他妈这次答对!LOL')
print
(
'盖亚!迪迦!戴拿!诺亚!欧布!银河!赛文!赛罗!泰罗!泰迦!初代!杰克!佐菲!艾斯!艾克斯!特利迦!维克特利!奥特之父!奥特之母!奥特之王!贝利亚!捷德!高斯!阿古茹!梦比优斯!雷欧!欧文!赛迦!'
)
\ 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