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

Administrator / lesson9_2

  • 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 ed1652a2 authored 4 years ago by BellCodeEditor's avatar BellCodeEditor
Browse files
Options
  • Browse Files
  • Download
  • Email Patches
  • Plain Diff

save project

parent 5ab88987
Show whitespace changes
Inline Side-by-side
Showing with 59 additions and 1 deletions
  • diy.py
  • diy1.py
  • diy2.py
  • diy3
  • diy3.py
  • diy4
  • diy4.py
  • diy5.py
diy.py 0 → 100644
View file @ ed1652a2
a=input("sr1gs:")
b=input("sr2gs:")
print("hs:",int(a)+int(b))
print("js:",int(a)*int(b))
print("xs:",int(a)-int(b))
print("cs:",int(a)/int(b))
print("ys:",int(a)//int(b))
print("a3cs:",int(a)**int(b))
\ No newline at end of file
This diff is collapsed. Click to expand it.
diy1.py 0 → 100644
View file @ ed1652a2
a=input("sr1s")
b=input("sr2s")
print(a+"+"+b+"="+str(int(a)+int(b)))
print(a+"-"+b+"="+str(int(a)-int(b)))
print(a+"*"+b+"="+str(int(a)+int(b)))
\ No newline at end of file
This diff is collapsed. Click to expand it.
diy2.py
View file @ ed1652a2
score = {'语文':91,'数学':88,'英语':85}
for k,v in score.items():
print(k,v)
# 请对字典进行遍历,将保存的分数以键值对的形式提取打印出来
This diff is collapsed. Click to expand it.
diy3 0 → 100644
View file @ ed1652a2
This diff is collapsed. Click to expand it.
diy3.py 0 → 100644
View file @ ed1652a2
a=input("sr1s")
This diff is collapsed. Click to expand it.
diy4 0 → 100644
View file @ ed1652a2
This diff is collapsed. Click to expand it.
diy4.py 0 → 100644
View file @ ed1652a2
import turtle
turtle.penup()
turtle.goto(-90,90)
turtle.pendown()
turtle.speed(1)
turtle.fillcolor("yellow")
turtle.begin_fill()
turtle.forward(180)
turtle.goto(-90,-90)
turtle.left(90)
turtle.forward(180)
turtle.end_fill()
turtle.right(90)
turtle.forward(180)
turtle.fillcolor("red")
turtle.begin_fill()
turtle.right(90)
turtle.forward(180)
turtle.right(90)
turtle.forward(180)
turtle.goto(90,90)
turtle.end_fill()
turtle.hideturtle()
turtle.done()
\ No newline at end of file
This diff is collapsed. Click to expand it.
diy5.py 0 → 100644
View file @ ed1652a2
import turtle
turtle.penup()
turtle.goto(0,-100)
turtle.pendown()
turtle.fillcolor("red")
turtle.begin_fill()
turtle.left(45)
turtle.forward(200)
turtle.circle(100,180)
turtle.right(90)
turtle.circle(100,180)
turtle.forward(200)
turtle.end_fill()
turtle.hideturtle()
turtle.done()
\ 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