hey, the code could have been much cleaner, instead of using a million "or
"s for different capitalization, just use .lower()
for the sake of consistency I think you should have used either only single quotes (apostrophes ’ ') or only double quotes (" ")
I know you add spaces in between the \n
for the sake of readability in the code but it just looks really weird when you run the code
after a choice you could also use a colon (:
), newline (\n
), or even a space
the grammar is also kinda trash, there are like a million places where you should have used “you’re” instead of “your”
thanks you for giving me this feedback
for the spaces after \n
for readability, maybe do
"""line 1
line 2"""
And, you can simplify your or
s also by using pyspellchecker · PyPI to account for spelling mistakes and use the in
operator, e.g.choice in {"1", "2", "3"}
1 Like
thanks you for your comment i appreciate it
1 Like