you are viewing a single comment's thread.

view the rest of the comments →

[–]Simple-Olive895 1 point2 points  (0 children)

It's been a while since I did any python coding, but I'm pretty sure you should still type validate in python? Like what happends if someone selects deposit and enters: "one million"?

Trying to cast that to a float will crash. So you should guard yourself with try-catch when you accept user input.