Ask coding questions

← Back to all posts
Why the "stop" isnt working
TejasvMaheshwar

So am trying to make a blackjack game in python as a side project but , the "stop" string isnt stopping the hitorstop() function and some of the code isnt being executed if , todo == "stop" it just keeps looping when i input "stop" instead of "hit"

Voters
TejasvMaheshwar
Comments
hotnewtop
[deleted]

its because the program doesnt think stop is in

line 84

[deleted]

working on it...

TejasvMaheshwar

so how do i fix it [email protected]

[deleted]

@TejasvMaheshwar not very sure, maybe abandon the

TejasvMaheshwar

what do i replace it with? @Aphmeta