摘要:
a="3432535541787" 1: print(a[::-1]) 2: b=list(a) b.reverse() print(''.join(b)) 3: c=len(a)-1 str_1=[] while(c>=0): str_1.append(a[c]) c -=1 print(''.j 阅读全文
摘要:
def digui(n): result = 1 if n == 2: result = 2 elif n 2: result = n digui(n 1) print(result) return result digui(4) 阅读全文
摘要:
1 def deDict(dict_o,value=None): 2 3 if type(dict_o) is dict and "william" in dict_o.keys(): 4 if dict_o['william']=value 5 dict_0=None 6 print(dict_o 阅读全文