python學習05:數字大小排序

#!/usr/bin/python # -*- coding: utf-8 -*- ''' 輸入三個整數x,y,z,請把這三個數由小到大輸出 ''' from pip._vendor.distlib.compat import raw_input ''' 三個數比大小,說白了就是集合排序問題,有函數直接用相應函數,沒有的就用相關排序算法. ''' def test1(a,b,c): a
相關文章
相關標籤/搜索