Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
bellcode
/
lesson3-5-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
14efc65f
authored
Jan 09, 2022
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
4eb41c4d
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
30 deletions
VB拉开距离VR;lk.py
滚滚滚.py
VB拉开距离VR;lk.py
View file @
14efc65f
impor
t
turtle
impor
t
turtle
import
turtle
pen
=
turtle
.
Pen
()
sb
=
1
for
i
in
range
(
300
)
pen
.
forward
(
sb
)
for
i
in
range
(
1
,
300
):
pen
.
forward
(
i
)
pen
.
right
(
91
)
sb
=+
1
\ No newline at end of file
turtle
.
done
()
\ No newline at end of file
滚滚滚.py
View file @
14efc65f
i
=
3
import
turtle
i
=
3
usename
=
"python"
userpassword
=
"123456"
while
True
:
if
i
>
0
:
a
=
input
(
"你的账号是啥子?"
)
b
=
input
(
"你的密码是啥子?"
)
i
-=
1
if
a
==
usename
and
b
==
userpassword
:
print
(
"正确"
)
break
if
a
!=
usename
:
print
(
"账号登录失败"
)
print
(
"你还有"
+
str
(
i
)
+
"次机会"
)
continue
if
b
!=
userpassword
:
print
(
"密码登录失败"
)
print
(
"你还有"
+
str
(
i
)
+
"次机会"
)
else
:
print
(
"你的账号输入错误,你的钱没了"
)
exit
()
print
(
"欢迎进入"
)
import
turtle
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