365 Days of Python: Day #77 — Creative Cooking

Rick Deckard
2 min readFeb 1, 2023

Cooking a good meal is a skill best learned where it is utilized: in the kitchen. And like other skills, learning to cook requires you to learn the basics first.

Poaching an egg, cooking pasta, caramelizing onions…the list goes on and on. You could spend years just learning the basics of cooking.

However, once those basics are learned, you acquire the freedom to cook creatively.

Day #77 (1/30/2023)

“I don’t like looking back. I’m always constantly looking forward. I’m not the one to sort of sit and cry over spilt milk. I’m too busy looking for the next cow.”

— Gordon Ramsay

Accomplishments

  • Added a game_replay() function to my PotW (see below)
def game_replay():
play_again = input("\nWould you like to play again? (Y/N)\n").upper()

if play_again == "Y":
game_difficulty()
elif play_again == "N":
exit()
else:
print("ERROR: INVALID RESPONSE")
game_replay()
  • Tested and debugged my PotW
  • Uploaded my PotW to GitHub

Weekly Goals

  • Write a program that challenges you to guess a randomly-generated number between 0 and 100 (100%)

Closing Thoughts

I have never been a great cook, but that does not mean that I do not like to experiment in the kitchen.

To be honest, though, my experiments never really go as well as I might have hoped.

--

--