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
f2bf1b31
authored
Jul 17, 2021
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auto save
parent
aac88fc1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
59 additions
and
0 deletions
1.py
Untitled-1.py.py
1.py
0 → 100644
View file @
f2bf1b31
score
=
input
()
.
split
(
','
)
t
=
0
for
s
in
score
:
t
+=
int
(
s
)
print
(
round
(
t
/
5
))
\ No newline at end of file
Untitled-1.py.py
0 → 100644
View file @
f2bf1b31
'''
import turtle
turtle.Pen()
turtle.pendown()
turtle.circle(100)
turtle.right(180)
turtle.circle(20)
turtle.penup()
turtle.right(45)
turtle.forward(150)
turtle.pendown()
turtle.circle(20)
turtle.penup()
turtle.right(95)
turtle.forward(150)
turtle.pendown()
turtle.circle(20)
turtle.penup()
turtle.right(90)
turtle.forward(150)
turtle.pendown()
turtle.circle(20)
turtle.done()
'''
'''
import turtle
turtle.Pen()
turtle.pendown()
turtle.forward(100)
turtle.right(90)
turtle.forward(100)
turtle.right(90)
turtle.forward(100)
turtle.right(90)
turtle.forward(100)
turtle.right(90)
turtle.right(45)
turtle.forward(150)
turtle.done()
'''
"""
import random
a=int(input("请输入一个数字:"))
if a
%2
==0:
print("奇偶数:"+"是偶数哦!")
else:
print("奇偶数:"+"是奇数哦!")
"""
\ 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