5.4.7 Категории Python
123456789101112131415List=[['animals','cheetah','pelican','red panda'],['noises','vrooom!','whirrr!','woosh!'['programming languages','Python','Java','C++']]i=0k=0for i in range(0,2): print("Category:"+List[i][0]) for k in range(1,3): print("\t"+List[i][k])XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Dark Duck