python 循環(huán)方式的列表打印
提問(wèn)人:楊紫紅發(fā)布時(shí)間:2020-11-18
class_list = ["class1","class2","class3","class4","class5"]
for x in range(0, 4):
print('hello %s' % class_list[x])
繼續(xù)查找其他問(wèn)題的答案?
相關(guān)視頻回答
class_list = ["class1","class2","class3","class4","class5"]
for x in range(0, 4):
print('hello %s' % class_list[x])
點(diǎn)擊加載更多評(píng)論>>