Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
bellcode
/
lesson2-1-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
9318d03b
authored
Apr 17, 2023
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
532735af
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
47 additions
and
10 deletions
12
12.py
diy1.py
12
0 → 100644
View file @
9318d03b
a=0
b=False
print(a==b)
\ No newline at end of file
12.py
0 → 100644
View file @
9318d03b
diy1.py
View file @
9318d03b
from
turtle
import
*
# from turtle import *
c
=
input
()
# c = input()
color
(
c
)
# color(c)
pensize
(
3
)
# pensize(3)
pendown
()
# pendown()
for
i
in
range
(
5
):
# for i in range(5):
fd
(
100
)
# fd(100)
right
(
144
)
# right(144)
done
()
# done()
\ No newline at end of file
'''import random
p = input("请出拳/石头/剪刀/布")
print("玩家出拳"+p)
l = ["石头","剪刀","布"]
c = random.choice(l)
print("电脑出拳"+c)
if p == c:
print('平局')
elif p=='石头':
if c=='剪刀':
print("玩家赢")
if c=='布':
print("电脑赢")
elif p=='布':
if c=='剪刀':
print("玩家输")
if c=='石头':
print("电脑输")
elif p=='剪刀':
if c=='':
print("玩家赢")
if c=='布':
print("电脑赢")'''
---
___
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGYI8
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