python3的基础运用

1.输出:print 2.注释: #(octothorpe) 3.显示在一行:print(,end=“”); end=””传递一个空字符串,这样print函数不会在字符串末尾添加一个换行符。 4.换一行:print(‘\n’); 5.求余:% 6.布尔型:返回ture或者false 7.浮点数:20.0是一个浮点数 8.等于=(equal):取名 9._下划线字符(underscore) 10.p
相关文章
相关标签/搜索