iOS Developer<br>Blog: <a href="https://links.jianshu.com/go?to=https%3A%2F%2Fleelom.github.io%2F" target="_blank">https://leelom.github.io/</a>
IP屬地:廣東
一、字符串處理 1、根據(jù)索引訪問 str="你是我的小蘋果"print("第一個字符:",str[0])#第一個字符print("第三個字符:",str[3])#第三個字符 ...
一、 使用type(變量)查看數(shù)據(jù)類型1、 整形inta=250print(type(a)) 2、浮點型 floata=1.25print(type(a)) 3、空值 Non...
一、打印字符串或者變量 直接打印字符串: print("萬事開頭難!") 直接打印變量、元組或者列表: name="閃閃"age=18tup=(1,2,3)list=[1,2...