python常用基础

1、type函数: days = 365 print(days, type(days)) 2、类型转换:str、int、float函数 str_eight = str(8) float_eight = float("8") int_eight = int("8") 3、加减乘除、乘方 + - * /  、** print(10**2)结果为100 4、list类型 months = [] prin
相关文章
相关标签/搜索