r/pythonhelp • u/MXP04 • Jan 04 '21
I’m making a blackjack script but code can’t use “>” . Changing my inputs to int(input hasn’t worked. I checked and it does add up the numbers, for example if I get a 9 of hearts, 7 of diamonds it correctly adds to 16 but I still get the error. Can someone help?
3
Upvotes
2
u/socal_nerdtastic Jan 04 '21
You are right that you need to do an
int()conversion, but it's not your inputs, its your file read that needs to be converted.If you need help with that Post your code as text so that we can fix it and test it.