摘要: n=str(input("")) m=n[::-1] if n[0]!="-": print(int(m)) elif n[0]=="-": print("-",end="") print(int(m[:-1])) 阅读全文
posted @ 2020-04-22 15:46 liuchun玲 阅读(277) 评论(0) 推荐(0) 编辑
摘要: A=input() if A[0] in ['U','u']: RMB=(eval(A[3:]))*6.78 print("RMB{:.2f}".format(RMB)) else: USD=(eval(A[3:]))/6.78 print("USD{:.2f}".format(USD)) 阅读全文
posted @ 2020-04-22 15:34 liuchun玲 阅读(104) 评论(0) 推荐(0) 编辑