Discuss / Python / ex1:转大写或小写比较,ex2:比较数字大小

ex1:转大写或小写比较,ex2:比较数字大小

Topic source

leo咕咕白

#1 Created at ... [Delete] [Delete and Lock User]

ex1:

def by_name(t):

    return t[0].lower()

ex2:

def by_score(t):

   return t[1]


  • 1

Reply