Ask coding questions

← Back to all posts
I have an error in this program, can anybody help me?
Monk1 (9)

Hello guys, I need your hepl with this program. I don't know to do, because I cheked the code several times and didn't find the error. Advance thanks to all who responded))!

Answered by VulcanWM (2759) [earned 5 cycles]
View Answer
Voters
Monk1 (9)
Comments
hotnewtop
VulcanWM (2759)

If the error you are talking about is the one after you do !cash then it is because you have the function name and the variable name as the same. To fix it just change the function name or the variable name

Monk1 (9)

@VulcanWM I did it, but it didn't help

Monk1 (9)

@VulcanWM I invited you in this repl

VulcanWM (2759)

So I fixed the error but now the function just keeps on going and doesn’t ask for any input.
I suggest you write it as a whole code not different functions @Roman889

Monk1 (9)

@VulcanWM It helped, the program working, you can check it. Thanks!

VulcanWM (2759)

What error are you getting?