Commit b570b09d by BellCodeEditor

auto save

parent a9c38889
Showing with 42 additions and 0 deletions
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
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
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
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
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