Hello and welcome to the forum!
Please use code tags to make your post/code more readable, you can edit the current post.
Your if statement:
if choice.lower() != "a" and choice.lower() != "b" and choice.lower() != "c" and choice.lower() != "d":
only gets executed if you enter something that is not a,b,c or d.
Also after fixing this you will probably not get expected results, due to your order of if statements and variables declared (only) within them. You would do better to include also elif/else statements. Take a quick look into some docs on if statements, and you will understand perfectly. =)
P.S.:
It would be better to pick a more descriptive thread title.
Please use code tags to make your post/code more readable, you can edit the current post.
Your if statement:
if choice.lower() != "a" and choice.lower() != "b" and choice.lower() != "c" and choice.lower() != "d":
only gets executed if you enter something that is not a,b,c or d.
Also after fixing this you will probably not get expected results, due to your order of if statements and variables declared (only) within them. You would do better to include also elif/else statements. Take a quick look into some docs on if statements, and you will understand perfectly. =)
P.S.:
It would be better to pick a more descriptive thread title.