[ 本帖最后由 柳单胜 于 2022-10-14 22:00 编辑 ]\n\n[Python] 纯文本查看 复制代码 if planet=='月球':
result=height*6
if planet=='火星':
result=height*2.5
if planet=='木星':
result=height*0.4
if planet == '老六星':
result=height*3.141592653589793
sentence = '你可以在'+planet+'跳'+str(result)+'米'
print(sentence)
jump(1, '火星')
jump(464646, '老六星')
jump(1, '木星')
|