If you want to learn how to create an empty list in Python ... num = [] >>> num.insert(0, 1.5) # add the float 1.5 at index 0 >>> num [1.5] ...
確定! 回上一頁