摘要: 一、位置参数调用函数时根据函数定义的参数位置来传递参数。#!/usr/bin/env python# coding=utf-8def print_hello(name, sex): sex_dict = {1: u'先生', 2: u'女士'} print... 阅读全文
posted @ 2018-06-19 21:38 甜麦地 阅读(329) 评论(0) 推荐(0) 编辑