Last active 1731421149

Revision d6112e5bcca38f2b1990657bd9f4cbe72c04503a

TastyHint3.md Raw

I'm struggling to see where we take the user input for the task name.

the command variable will have exit or whatever, right?

and the new <task> will actually look like new Buy Milk

so take the string and split it into a list of strings, breaking each string on the character.

and maybe the right thing to do is to change the command = input("Tasty> ") to something like words = prompt_user("Tasty> ") and then immediately command = words[0]

then all the "words" after the "new" will be what you pull together to name the task?

so prompt-user(self, prompt) becomes a method which asks for the user's input (using input(prompt))