Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
bellcode
/
lesson2-5_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
c04fa5a2
authored
Dec 18, 2021
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auto save
parent
bc84190d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
ggggggg.py
ggggggg.py
View file @
c04fa5a2
import
tuetle
h
=
random
\ No newline at end of file
e
=
input
(
"请出石头/砂锅/水"
)
k
=
random
.
choice
([
"石头"
,
"砂锅"
,
"水"
])
while
True
:
if
k
==
e
:
print
(
"计算机出牌"
+
k
)
print
(
"平局"
)
if
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