初学Python函数的笔记整理 定义 返回单值 def my_abs(x): if x >= 0: return x else: return -x 返 python编程 2022-04-02 180 点赞 2 评论 272 浏览