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
6d55039a
authored
Jun 12, 2021
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
55e611f3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
11 deletions
debug1.py
hhhh.py
debug1.py
View file @
6d55039a
import
turtle
pen
=
turtle
.
Pen
()
screen
=
turtle
.
Screen
()
size
=
screen
.
textinput
(
"提示"
,
"你想要多大的魔法镇呀?"
)
len
=
int
(
size
)
pen
.
circle
(
len
)
pen
.
circle
(
len
,
360
,
3
)
pen
.
circle
(
len
,
60
)
pen
.
circle
(
len
,
360
,
3
)
turtle
.
done
()
\ No newline at end of file
username
=
"python"
userpassword
=
"123456"
inusername
=
input
(
"输入账号"
)
inuserpassword
=
input
(
"输入密码"
)
print
(
inusername
)
print
(
inuserpassword
)
if
inusername
==
username
and
inuserpassword
==
userpassword
:
print
(
"登录成功"
)
else
:
print
(
"登录失败"
)
\ No newline at end of file
hhhh.py
0 → 100644
View file @
6d55039a
bl
=
input
(
"请输入一个大于0的边长"
)
b
=
float
(
bl
)
zc
=
4
*
b
s
=
b
*
b
print
(
周长是:
)
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