用户:
本人以挂机查看:0 回复:0 评论:0 创建时间:2021-05-21T19:37:40
【作品展示】

【作品介绍】
喵函数,普通人不要试!
【作品源代码】
#def f1(m,n):
#return m+n
#print(f1(3,5))
def f2(a,b,c):
if a>=b and a<=c:#如果a大于b并且a小于c
return a #return是返回
if b>=a and b<=c:#如果b大于a并且b小于c
return b #return是返回
if c>=a and c<=b:#如果c大于a并且c小于b
return c #return是返回
if a<=b and a>=c:#如果a小于b并且a大于c
return a #return是返回
if b<=a and b>=c:#如果b小于a并且b大于c
return b #return是返回
if c<=a and c>=b:#如果c小于a并且c大于b
return c #return是返回
print(f2(5,7,4))
【提示】
部分含有Python第三方库相关内容的作品,在海龟编辑器网页端无法运行哦!如遇到这种情况,可以打开下面的链接,下载海龟编辑器客户端:
https://python.codemao.cn