Commit ba2fbb71 by BellCodeEditor

auto save

parent ac795495
Showing with 46 additions and 0 deletions
# a=input()
# b=input()
# c=input()
# if b=="+":
# d=float(a)+float(c)
# if b=="-":
# d=float(a)-float(c)
# if b=="*":
# d=float(a)*float(c)
# if b=="/":
# d=float(a)/float(c)
# print(a+b+c+"结果是"+str(d))
# a=[]
# for i in range(3):
# b=input()
# a.append(b)
# if a[1]==
# a={"a":1,"b":2,"c":3}
# for i in a:
# print(i)
# a=[1,2,3,"a","b","c"]
# for i in a:
a=range(10)
print(a)
\ No newline at end of file
a=input()
if a[-1]=="c" or a[-1]=="C":
a=a[0:-1]
a=int(a)
b=a*1.8+32
b=str(b)+"F"
elif a[-1]=="f" or a[-1]=="F":
a=a[0:-1]
a=int(a)
b=(a-32)/1.8
b=str(b)+"F"
print(b)
\ No newline at end of file
c=0
def a():
a=input()
b=input()
c=a+b
a()
print(c)
\ 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