💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
数组循环 === ~~~ mylist = ["curry","hidden","pps","ok"] # 数组循环 print("Start.") for name in mylist: print("\t",name) print('End.') # enumerate() 变成可枚举的对象 print("Start.") for k,v in enumerate(mylist): print(k," : ",v) print('End.') ~~~