← Back to Community
Balance Account
Profile icon
HakanPuente

You can add "balance", and add to "savings" some percent of the balance.

Voters
Profile icon
SkillsPlays
Profile icon
HackermonDev
Profile icon
HakanPuente
Comments
hotnewtop
Profile icon
HakanPuente

The balance or percentage must be integer, I added "try except blocks" but if the client inserts an float or string, how can i start over again to ask.By the way, is there any efficent way than "try except" ?

Profile icon
SkillsPlays

You should probably implement a while loop just so the user is able to keep on using the program multiple times. It would also be cool to add the ability to make an account and a login system using the "Account" class you made, which seems like something you are planning to implement. This project has some potential for personal use, keep it up!

Profile icon
HakanPuente

Thank you @SkillsPlays

Profile icon
HackermonDev

Cool! I found an error. If you try to enter a letter it shows invalid int error.

Profile icon
HakanPuente

@PDanielY thank you.
it is in progress, i just needed to keep for retention, so i shared it.