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
49b9098e
authored
2 years ago
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auto save
parent
d8c7c8ed
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
5 deletions
1.py
1.py
View file @
49b9098e
name
=
input
(
"你是谁"
)
"""
print
(
name
)
import turtle
x
=
12
while True:
print
(
x
)
b=input("你想要什么颜色的星星,请输入英文:")
\ No newline at end of file
a=turtle.Pen()
a.pencolor(b)
a.fillcolor(b)
a.begin_fill()
for i in range(5):
a.forward(200)
a.right(144)
a.end_fill()
"""
"""
a=input("你是不是傻呀?请输入(是)或(不是)")
if a=="是":
print("你是真傻")
elif a=="不是":
print("你还真是傻")
else:
print("太傻了你")
"""
a
=
[
"一"
,
1
,
"二"
,
2
,
"三"
,
3
,
"四"
,
4
]
b
=
{
"一"
:
1
,
"二"
:
2
,
"三"
:
3
,
"四"
:
4
}
print
(
len
(
a
))
print
(
len
(
b
))
\ No newline at end of file
This diff is collapsed.
Click to expand it.
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