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

bellcode / lesson3-1-1_DIY1

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

auto save

parent 3d26fd59
Hide whitespace changes
Inline Side-by-side
Showing with 20 additions and 7 deletions
  • diy1.py
  • srg.py
diy1.py
View file @ a99a2518
# 利用write()帮助悟空给诺依回信吧~
import turtle
pen=turtle.Pen()
pen.write("SB",font=("Times",30,"normal"))
pen.hideturtle()
turtle.done()
\ No newline at end of file
# m=int(input("请输入数字"))
# if m<=2:
# print["5元"]
# else:
print(str((m-2)*2+5)+"元")
# list=["星期一","星期二","星期三","星期四","星期五","星期六","星期日"]
# sb=int(input("请输入数字"))
# print(list[sb-1])
\ No newline at end of file
This diff is collapsed. Click to expand it.
srg.py 0 → 100644
View file @ a99a2518
li_text=['p','y','t','h','o','n']
text="".join(li_text)
print(text)
\ 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