Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
bellcode
/
lesson2-1-2_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
51e10c01
authored
Nov 21, 2020
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
c8794832
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
2 deletions
aa.py
信.py
aa.py
View file @
51e10c01
while
True
:
while
True
:
aa
=
input
(
'你出什么'
)
aa
=
input
(
'你出什么'
)
if
aa
==
'p'
:
break
print
(
'玩家出拳'
+
aa
)
print
(
'玩家出拳'
+
aa
)
import
random
import
random
list1
=
[
"石头"
,
'剪刀'
,
"布"
]
list1
=
[
"石头"
,
'剪刀'
,
"布"
]
...
@@ -12,8 +14,7 @@ while True:
...
@@ -12,8 +14,7 @@ while True:
print
(
'玩家赢'
)
print
(
'玩家赢'
)
else
:
else
:
print
(
'你输了'
)
print
(
'你输了'
)
else
:
elif
aa
==
'p'
:
if
aa
==
p
:
break
break
else
:
else
:
print
(
'请好好出拳'
)
print
(
'请好好出拳'
)
信.py
0 → 100644
View file @
51e10c01
import
turtle
import
turtle
pen
=
turtle
.
Pen
()
pen
.
write
(
"鬼
\n
怕鬼
\n
不怕鬼
\n
我不怕鬼"
,
font
=
(
'Times'
,
30
,
"normal"
))
pen
.
hideturtle
()
turtle
.
done
()
\ 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