Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
bellcode
/
lesson2-4-1_DIY1
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
546c3a75
authored
Jul 02, 2023
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
b6c5ee9e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
10 deletions
jk.py
jk.py
View file @
546c3a75
if
player
in
list
:
if
player
==
computer
:
import
.
turtle
print
(
"平局"
)
pen
.
turtle
.
Pe
()
elif
(
player
==
"石头"
and
computer
==
"剪刀"
)
or
(
player
==
"布"
and
computer
==
"石头"
)
or
(
player
==
"剪刀"
and
computer
==
"布"
):
pen
.
write
(
"你好呀!"
,
font
=
(
"Times"
,
20
,
"normal"
))
print
(
""
)
Pen
.
hideturtle
()
else
:
turtle
.
done
()
print
(
""
)
\ No newline at end of file
else
:
print1
(
"输入错误"
)
\ 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