一、题目要求
二、参考代码
s=input().split()
r=float(s[0])
if s[1]=='0':
r*=2.455
else:
r*=1.26
print('%.2f'%(r),end=' ')
if r<float(s[2]):
print('^_^')
else:
print('T_T')
PTA L1-067:洛希极限 (python)
阅读 221
2022-03-11
s=input().split()
r=float(s[0])
if s[1]=='0':
r*=2.455
else:
r*=1.26
print('%.2f'%(r),end=' ')
if r<float(s[2]):
print('^_^')
else:
print('T_T')
相关推荐
精彩评论(0)