I have a weird issue, when I try and pull the return from my function it gives me a bunch of jumbled letters and numbers. I am obviously doing something wrong and would appreciate it if someone would show me.
Try to avoid using global variables: Lines 4-6.
Between curly brace
put an extra tab/indent.
If you ever do variable a = a + .. You can replace it with a += ...: Line 17
Though I really don't know why you are adding 0 to your account..
Line 43 is doing nothing. Yeah it calculates the stuff but you don't do anything with it... Maybe you meant something = bank(a , b )?
Or you could replace bank on line 45 with bank( a , b ) that is more than likely your error. Considering bank is undefined on line 45.