摘要:
函数语法:语法:def functionname(para): "函数_文档字符串" function_suite return[expression]sample1:print str by defdef printstr(str): "print input str" print str ret... 阅读全文
posted @ 2016-01-07 17:12
Janice_Zhong
阅读(125)
评论(1)
推荐(0)
摘要:
sample 1: 用while 语句实现连续计算:a =float( raw_input("please input a number:"))while a!=0: b=raw_input("please input a operator: ") c=float(raw_input("please... 阅读全文
posted @ 2016-01-07 12:44
Janice_Zhong
阅读(172)
评论(0)
推荐(0)

浙公网安备 33010602011771号