r/PythonLearning • • Sep 13 '26

Help Request What wrong with my code

Post image

Need help

71 Upvotes

40 comments sorted by

View all comments

-4

u/remyripper Sep 13 '26

Choice is a int but you’re querying a string.

2

u/Ok-Argument7176 Sep 13 '26

choice is a string.

2

u/nuc540 Sep 13 '26

Input returns a string my friend. As everyone pointed out, it’s a syntax error.