Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
bellcode
/
lesson2-3-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
4d67ec31
authored
Nov 30, 2024
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auto save
parent
eb87ad3c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
23 deletions
diy1.py
ikun.py
star.py
diy1.py
deleted
100644 → 0
View file @
eb87ad3c
player
=
input
(
"请出拳:石头/剪刀/布"
)
# 玩家出拳
print
(
"玩家出拳:"
+
player
)
\ No newline at end of file
ikun.py
deleted
100644 → 0
View file @
eb87ad3c
#数据类型 整数:int 2 浮点数:float 0.05 字符串:str "KUNI"
#if (条件):条件:成立和不成立 布尔值:bool ture
# 条件成立执行的内容
#while Ture: while a<5:
# a=a+1 b=b+1
a
=
"520"
print
(
a
+
1
)
字符串
star.py
deleted
100644 → 0
View file @
eb87ad3c
import
turtle
ink
=
input
(
"什么色?"
)
pen
=
turtle
.
Pen
()
pen
.
fillcolor
(
ink
)
pen
.
begin_fill
()
for
i
in
range
(
5
):
pen
.
forward
(
200
)
pen
.
right
(
144
)
pen
.
end_fill
()
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