Commit a579dcfc by BellCodeEditor

auto save

parent 57363f31
a=input("输入温度值:")
a=input("输入温度值:")
if a[-1] in ['F','f']:
c=(float(a[0:-1])-32)/1.8
print("%.1fc"%(c,))
elif a[-1] in ['C','c']:
F=1.8*float(a[0:-1])+32
print("%.1fF"%(F,))
else:
print("格式错误")
i=input("输入:")
i=input("输入:")
d=input("输入:")
if i >= d:
print(int(i)-int(d) or print(int(i)=int(d))
else:
print("输入错误!")
score = input().split(' ')
score = input().split(' ')
t = 0
for s in score:
t += int(s)
print(int(round(t/5,0)))
\ No newline at end of file
x=int(input())
x=int(input())
y=int(input())
greater = max(x,y)
while True:
if greater % x == 0 and greater % y ==0:
print(greater)
break
greater += 1
\ 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