NP27 朋友们的喜好

This commit is contained in:
轩辕龙儿 2022-10-26 15:30:45 +08:00
parent d13aef71d8
commit f7e79be7e3

18
NP/NP27.py Normal file
View File

@ -0,0 +1,18 @@
#!/usr/bin/env python3
# @author 轩辕龙儿
# @date 2022/10/26
# @file NP27.py
def solution():
name = ["Niumei", "YOLO", "Niu Ke Le", "Mona"]
friends = []
friends.append(name)
food = ["pizza", "fish", "potato", "beef"]
friends.append(food)
number = [3, 6, 0, 3]
friends.append(number)
print(friends)
if __name__ == "__main__":
solution()