10. python 函数

def sale_car(price, color, brand, is_second_hand, length, height):
    print('price:', price,
          'color:', color,
          'is_second_hand:', is_second_hand,
          'length:', length,
          'height:', height)

sale_car(2000, 'red', 'carmy', True, '230', '1.2m')

  

posted @ 2017-03-17 23:13  涵叔  阅读(88)  评论(0)    收藏  举报