NP13 朋友们的喜好
思路:
step1:按照要求输入输出即可;
代码如下:
friends = []
name = ['Niumei', 'YOLO', 'Niu Ke Le', 'Mona']
friends.append(name)
food = ['pizza', 'fish', 'potato', 'beef']
friends.append(food)
number = [3, 6, 0, 3]
friends.append(number)
print(friends)
friends = []
name = ['Niumei', 'YOLO', 'Niu Ke Le', 'Mona']
friends.append(name)
food = ['pizza', 'fish', 'potato', 'beef']
friends.append(food)
number = [3, 6, 0, 3]
friends.append(number)
print(friends)