fridge = ["우유", "계란", "치즈", "베이컨"]

# 사용자에게 물어보기
item = input("찾으시는 재료가 있나요? ")


#냉장고 안에 입력한 값이 있다면? 토마토 in fridge

    print(f"네, {item}은(는) 냉장고 0번 칸 근처에 있어요!")
#없다면

    print(f"아쉽지만 {item}은(는) 장을 보러 가야겠네요.")

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: