Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
lesson1_4
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
71eab188
authored
Oct 29, 2022
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
1b0cf60a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
10 deletions
SB.py
a.py
SB.py
View file @
71eab188
Name
=
input
(
"你叫什么?"
)
print
(
name
+
"你个撒比"
)
\ No newline at end of file
a.py
View file @
71eab188
player
=
input
(
"请出拳(石头,剪刀,布)"
)
import
turtle
print
(
"玩家出拳"
+
player
)
pen
=
turtle
.
pen
()
import
random
pen
.
write
(
"12345"
,
font
=
(
"times,30,normal"
))
list
=
[
"石头"
,
"剪刀"
,
"布"
]
turtle
.
done
()
computer
=
random
.
choice
(
list
)
hide
.
pen
print
(
computer
)
\ No newline at end of file
\ 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