Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

Administrator / lesson11_4

  • This project
    • Loading...
  • Sign in
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 a3198c03 authored a year ago by BellCodeEditor's avatar BellCodeEditor
Browse files
Options
  • Browse Files
  • Download
  • Email Patches
  • Plain Diff

auto save

parent dc70412a
Show whitespace changes
Inline Side-by-side
Showing with 70 additions and 0 deletions
  • 1.py
  • 2.py
  • __pycache__/func.cpython-37.pyc
  • func.py
1.py 0 → 100644
View file @ a3198c03
import func
\ No newline at end of file
This diff is collapsed. Click to expand it.
2.py 0 → 100644
View file @ a3198c03
import turtle
pen=turtle.Pen()
pen.speed(100)
pen.up()
pen.goto(-100,0)
pen.down()
pen.fd(15)
pen.left(90)
for i in range(2):
pen.fd(20)
pen.right(90)
pen.fd(20)
pen.left(90)
pen.fd(50)
pen.left(90)
for i in range(2):
pen.fd(40)
pen.right(90)
pen.fd(40)
pen.left(90)
pen.fd(60)
pen.left(90)
for i in range(2):
pen.fd(60)
pen.right(90)
pen.fd(60)
pen.left(90)
pen.fd(60)
pen.left(90)
for i in range(2):
pen.fd(40)
pen.right(90)
pen.fd(40)
pen.left(90)
pen.fd(30)
pen.left(90)
for i in range(2):
pen.fd(20)
pen.right(90)
pen.fd(20)
pen.left(90)
pen.fd(20)
turtle.done()
\ No newline at end of file
This diff is collapsed. Click to expand it.
__pycache__/func.cpython-37.pyc 0 → 100644
View file @ a3198c03
File added
This diff is collapsed. Click to expand it.
func.py 0 → 100644
View file @ a3198c03
def num():
a = []
while True:
try:
n=input("请输入")
if n=="q":
break
n=int(n)
except:
print("请输入整数")
print("程序结束")
else:
a.append(n)
return a
b = num()
print(b)
def a(sum):
b=0
for i in range():
return
\ No newline at end of file
This diff is collapsed. Click to expand it.
  • Write
  • Preview
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment