Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
Administrator
/
lesson11_1
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
70475513
authored
Jul 04, 2023
by
BellCodeEditor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
auto save
parent
024fb164
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
36 additions
and
9 deletions
func.py
func.py
View file @
70475513
total
=
[]
# k = input("请输入正方形的边长。")
while
True
:
# k = int(k)
unit
=
input
(
"请输入:"
)
# while True:
if
unit
==
'q'
:
# if k = 0 or k<0:
break
# print("数字要大于0呦。")
else
:
# else:
total
.
append
(
unit
)
# print("输入成功")
print
(
total
)
# break
\ No newline at end of file
# q=k*4
# w=k*k
# print("周长是:"q)
# print("面积是:"w)
# 5
# bianliang="Hallo world"
# dizhi=id(bianliang)
# print(dizhi)
# d=5
# import turtle
# iwd=turtle.Pen
# iwd.pencolour("pink")
# iwd.left(105)
# for i in range(d):
# iwd.circle(75,90)
# iwd.left(90)
# iwd.circle(75,90)
# iwd.left(60)
# iwd.down()
# iwd.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