字符工厂函数str() class str(object): """ str(object='') -> str str(bytes_or_buffer[, encoding[, errors]]) -> str Create a new string object from the given object. If encoding or errors is specified, then the object must expose a data buffer
1.Python数学函数 1.abs(x):取绝对值,内建函数 2.math.ceil(x):向上取整,在math模块中 3.cmp(x,y):如果 x < y ,返回-1:如果 x == y ,返回0:如果 x > y ,返回1.内建函数 4.math.exp(x):在math模块中 5.math.fabs(x):返回数字的绝对值,在math模块中 6.math.floor(x):向下取整,在math模块中 7.math.log10(x):返回以10为底数的x的对数,在math模块中 8.m