题解 | #朋友们的喜好#
朋友们的喜好
http://www.nowcoder.com/practice/c62ef46892ef4c478802df983f8624b7
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)