Python 3.1.2 日记
1. Python的功能一,计算器功能:>>> 2+24>>> # This is a comment... 2+24>>> 2+2 # and a comment on the same line as code4>>> (50-5*6)/45.0>>> 8/5 # Fractions aren't lost when dividing integers1.6...
Python 语法基础
1. 赋值:#整型integer_number = 90 #浮点float_number = 90.4 #复数complex_number = 10 + 10j #list 序列sample_list = [1,2,3,'abc'] #dictionary 字典sample_dic ...