摘要:
a = ['Google', 'Baidu', 'Runoob', 'Taobao', 'QQ']for i in range(len(a)): print(i+1,a[i]) 阅读全文
摘要:
sites = ["Baidu", "Google","Runoob","Taobao"]# for i in sites:# if i =="Runoob":# print("菜鸟教程")# break # 这个break,跳出当前循环体(此处为for i in site 循环,跳出喉,执行fur 阅读全文
摘要:
列表 ->join > 字符串 转类型:x >y类型 y(x) 阅读全文