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

bellcode / lesson6-5-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 b570b09d authored 2 years ago by BellCodeEditor's avatar BellCodeEditor
Browse files
Options
  • Browse Files
  • Download
  • Email Patches
  • Plain Diff

auto save

parent a9c38889
Show whitespace changes
Inline Side-by-side
Showing with 42 additions and 0 deletions
  • 11.py
  • 112.py
  • 113.py
  • WDNMD.py
11.py 0 → 100644
View file @ b570b09d
fenshu=input('输入你的分数:')
if int(fenshu)<60:
print("不及格")
elif int(fenshu)<80:
print("合格")
elif int(fenshu)<90:
print("良好")
else:
print("优秀")
\ No newline at end of file
This diff is collapsed. Click to expand it.
112.py 0 → 100644
View file @ b570b09d
dz=["子","丑","演","卵","辰","巳","午","未","伸","酋","戍","骇"]
tg=["甲","乙","丙","丁","戊","己","庚","辛","王","葵"]
year=int(input("请输入年份:"))
n= year % 10
m= year % 12
if n > 3:
t = n - 3
else:
t = n - 3 + 10
if m > 3:
d = m - 3
else:
d = m - 3+ 12
print(tg[t-1]+dz[d-1])
\ No newline at end of file
This diff is collapsed. Click to expand it.
113.py 0 → 100644
View file @ b570b09d
tg=["子","丑","演","卵,"巳","午","未","伸","酋","戍","骇"]
year=int(input("请输入年份:"))
m= year % 12
if m > 3:
t = m - 3
else:
t = m + 3 + 12
print(tg[t-1])
\ No newline at end of file
This diff is collapsed. Click to expand it.
WDNMD.py 0 → 100644
View file @ b570b09d
qian=input('请输入你的金额:')
if int(qian)<200:
print(qian)
elif int(qian)>200 and int(qian)<500:
print(int(qian)*0.9)
else:
print(int(qian)*0.8)
\ 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