Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
lesson1_5
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
111f3f75
authored
Jul 18, 2021
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auto save
parent
e57aa834
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
6 deletions
Untitled-1.py.py
lesson1
star.py
Untitled-1.py.py
0 → 100644
View file @
111f3f75
import
gt
tutu
=
gt
.
robot
()
lesson1
0 → 100644
View file @
111f3f75
height=input('请输入你的身高')
height=float(height)
if height<1.2:
print('儿童免费')
if height>=1.2 and height<1.5:
print('需要购买半价票')
if height>=1.5:
print('需要购买全价票')
\ No newline at end of file
star.py
deleted
100644 → 0
View file @
e57aa834
turtle
()
for
i
in
range
(
5
):
right
(
144
)
forward
(
15
)
hideturtle
()
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