365 Days of Python: Day #34 — Mental Management
3 min readDec 20, 2022
Taking care of yourself is not an easy task.
Waking up every morning ready to conquer the day is not an easy task.
Feeling satisfied with your life is not an easy task.
But, with the right mindset, all of the above (and more) can seem just a little bit more feasible.
Day #34 (12/18/2022)
“Until you value yourself, you won’t value your time. Until you value your time, you will not do anything with it.”
— M. Scott Peck
Accomplishments
- Read the programming recommendations provided by PEP 8
- Learned the rules for function and variable annotations as defined by PEP 8
- Added a
clear()
function to my PotW (see below)
def clear():
if os.name == "posix":
os.system("clear")
else:
os.system("cls")
- Added a
reset()
function to my PotW (see below)
def reset():
global hangman, guesses, g
hangman = [" ", " ", " ", " ", " ", " ", " "]
guesses = [" ", " ", " ", " ", " ", " ", " "]
g = 0
difficulty()
- Finished writing the
word()
function for my PotW (see below)