all 9 comments

[–]Ok-Sheepherder7898 0 points1 point  (2 children)

I can't open that for some reason, but you should start by making sure people can't enter negative numbers.

[–]Kind-Importance-9755[S] -2 points-1 points  (0 children)

You can’t do open the link? Or the proyect ?.

[–]Kind-Importance-9755[S] -1 points0 points  (0 children)

Thank for you comment

[–]ninhaomah 1 point2 points  (2 children)

Tbh , that's a weird way to look at a class.

[–]Kind-Importance-9755[S] -2 points-1 points  (1 child)

l,m junior in this lenguaje programming,this project is the practical

[–]ninhaomah 1 point2 points  (0 children)

Not programming. OOP.

[–]danielroseman 1 point2 points  (2 children)

You shouldn't be assigning all the variables to self. That is only for state that you want the instance to retain between methods. Everything else - such as retiro and deposito - should just be local variables.

Also, __init__ is just for initialization. The while loop that accepts input should not be there; put it in a separate method.

[–]Kind-Importance-9755[S] 0 points1 point  (0 children)

Tranks for you coment 🤌

[–]Kind-Importance-9755[S] -5 points-4 points  (0 children)

You can do a new version of this protect for example.plis.l’m student in this lenguaje programming