Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
lesson4_6
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
8a3a2eef
authored
Apr 10, 2021
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
save project
parent
b844e8f5
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
42 additions
and
0 deletions
hello.py
hellow.py
hhh.py
ll.py
lllpy
sh.py
hello.py
0 → 100644
View file @
8a3a2eef
print
(
"hello,world"
)
\ No newline at end of file
hellow.py
0 → 100644
View file @
8a3a2eef
hhh.py
0 → 100644
View file @
8a3a2eef
import
turtle
as
t
t
.
pu
()
t
.
goto
(
-
100
,
-
100
)
t
.
pd
()
for
i
in
range
(
4
):
t
.
forward
(
200
)
t
.
left
(
90
)
t
.
penup
()
t
.
goto
(
0
,
-
50
)
t
.
pd
()
t
.
fillcolor
(
"blue"
)
t
.
begin_fill
()
t
.
circle
(
50
)
t
.
end_fill
()
t
.
done
()
ll.py
0 → 100644
View file @
8a3a2eef
import
turtle
as
t
t
.
pu
()
t
.
goto
(
0
,
-
100
)
t
.
pd
()
t
.
pensize
(
2
)
t
.
color
(
"red"
)
t
.
circle
(
100
,
360
)
t
.
goto
(
0
,
100
)
t
.
setheading
(
-
90
)
t
.
fd
(
100
)
t
.
setheading
(
180
)
t
.
fd
(
100
)
t
.
setheading
(
0
)
t
.
fd
(
200
)
t
.
done
()
N
=
int
(
input
(
"请输入奶牛的头数:"
))
print
(
f
'{N}"头奶牛7天可以产{N*20*7}千克的牛奶'
)
\ No newline at end of file
lllpy
0 → 100644
View file @
8a3a2eef
N=int(input("请输入奶牛的头数:"))
print(f'{N}"头奶牛7天可以产{N*20*7}千克的牛奶')
\ No newline at end of file
sh.py
0 → 100644
View file @
8a3a2eef
N
=
int
(
input
(
"请输入奶牛的头数:"
))
print
(
f
'{N}头奶牛7天可以产{N*20*7}千克的牛奶'
)
\ 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