IP屬地:湖北
1.get和post的區(qū)別 get請求可以被緩存post不會被緩存 get是獲取指定的資源post是向指定的資源提交要被處理的數(shù)據(jù) get的參數(shù)...
while用法 while 條件:----pass 例子1 例子2 例子3 執(zhí)行結果:{'url': 'user/login', 'method...
if 語句 條件表達式 if 條件表達式1:----(縮進)條件滿足以后要運行的代碼elif 條件表達式2:----代碼2else(沒有表達式的...
a = 'Hello world' # upper全部大寫 print(a.upper()) ==》HELLO WORLD # lower全部小...
list.append(value):append只能在list的尾部添加數(shù)據(jù),數(shù)據(jù)的值為傳進來的value,每次只能添加一個值;append操...
格式:[start:end:step] [:]提取從開頭(默認位置0)到結尾(默認位置(-1))的整個字符串 [start:]從start提取到...