Python_常見內置函數

1. 方法  注:class(類)是具有相同的屬性和方法的對象的集合。 2. 例子  (1)數據/集合類型 str(object=''); str(object=b'', encoding='utf-8', errors='strict') int(x, base=10) float(x=0) complex(real=0, imag=0) 1 >>> str(123) 2 '123' 3 >>
相關文章
相關標籤/搜索