favorite_fruits=['peach','apple','kiwi berry']
if 'peach' in favorite_fruits:
print("You really like peachs")
if 'apple' in favorite_fruits:
print("You really like apples")
if 'kiwi berry' in favorite_fruits:
print("You really like kiwi berries")
if "passion fruit" in favorite_fruits:
print("You really like passion fruits")
if "durian" in favorite_fruits:
print("You really like durians")
5-7 喜欢的水果
最新推荐文章于 2024-08-03 10:58:57 发布