Skip to content

Instantly share code, notes, and snippets.

@asyraffff
Created October 3, 2022 12:33
Show Gist options
  • Save asyraffff/a9b900829722ddb4c26f5aca68fd5111 to your computer and use it in GitHub Desktop.
Save asyraffff/a9b900829722ddb4c26f5aca68fd5111 to your computer and use it in GitHub Desktop.
This command line script uses Eisenhower matrix technique to prioritize tasks using the Eisenhower matrix technique
def eisenhower_matrix():
print("Tell me the first pending task that you can think of?")
task = input("> ")
print("Is this %s important?" % task)
is_important = input("(y/n)> ")
print("Is this %s urgent?" % task)
is_urgent = input("(y/n)> ")
if is_important == "y" and is_urgent == "y" :
print("DO IT IMMEDIATELY !!!")
elif is_important == "y" and is_urgent == "n":
print("DECIDE WHEN YOU WILL DO IT")
elif is_important == "n" and is_urgent == "n":
print("DO IT LATER")
elif is_important == "n" and is_urgent == "y":
print("DELEGATE TO SOMEBODY ELSE")
else:
print("Please answer again!")
eisenhower_matrix()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment