Python 语法基础 对象object,map函数

class Person:  #定义名首字母必须是大写

store1 = [10.00, 11.00, 12.34, 2.34]
store2 = [9.00, 11.10, 12.34, 2.01]

cheapest = map(min, store1, store2)


猜你喜欢

转载自blog.csdn.net/maopaoyu88/article/details/80161898