Magic 8-Ball: OPTIONAL+ Challenges
Magic 8-Ball project from 'Python: Control Flow' lesson, with the following embellishments:
- up to 20 answers (which is the standard)
- when there is no name provided
- when there is no question provided
- when there is neither a name NOR a question provided
Will update when I remember how to code for console input (so people can actually type in their own names and/or questions to the Magic 8-Ball).
Im slightly stuck on the optional part of this project, specifically point 14 'What if the question string is empty?' even though I enter
elif question == "": print("You didn't ask a question.")
it still churns out an answer. Is it meant to do this? I thought the whole point was because you don't ask it a question the code is not meant to go further and give you an answer.
Sorry i'm new to this and therefore my technical language is subpar.
Thanks in advance for your help!