Well guys were back with more python but this time im going to teach you how to make a bank with python well the first time i made a bank was with html and css but this time i will teach you on how to make a bank with python. first we are going to have to make a variable you can call it anything and add a amount to it but i will call it Bank_balence = 10000 then of course we have to ask for a name put in name = input("Hello what is your name: ") that will ask them for their name make sure to not put int next we have to ask for a password if we dont anyone can enter so were going to add another input that askthem the question with their name in it but you guys are going to ask "How do we put their name in it if we dont even know their name " well dont worrie all we have to do is add name between two quetes and + signs on both sidea but make sure name is not in the quetes or else it wont work Password = input("Hello " + name + " Please enter your password: ") now that we have that done you guys are going to say that i forgot a variable for the password but you guys dont know that i infact did not forget im just going to put the variable after the password input just put password = "556" or something like that and now that we have the password input and vaiable now we have to make it so that it denies access whn the wrong password is put is so first put while true: If password = passw: print("Access allowed") break make sure to put the breck after this or else this wont work after that put else: print("Access denied") now that you have everything set for the password now we have to make the the withdrawal method and deposit well first we have to ask if he wants to withdraw or deposit so we dont need the deposit we can just do withdrawal so just ask for withdrawal of deposit then makea variable for wothdrawal then ask how much they want to deposit or withdrawl once your done with that Bank = input("Would you like to deposit or widthdraw: ") wit = "widthdraw" How = int(input("how much: ")) now that we have that done all we have to do is make a if statement we have to put if Bank == wit: print(Bank_account - How) now we have to do is make the else statment put else: print(Bank_account + How) and now your done great job. here is the full code Bank_account = 100000 name = input("Hello what is your name: ") Password = input("Hello " + name + " Please enter your password: ") passw = "546" while True: if Password == passw: print("Access allowed") break else: print("Access denied") Bank = input("Would you like to deposit or widthdraw: ") wit = "widthdraw" How = int(input("how much: ")) if Bank == wit: print(Bank_account - How) else: print(Bank_account + How) if you want to try this out then copy and past this some where that allows you to see the result oh yea and if you see when you put the wrong password in it reapeats a lot thats becuase if i put the break after the else statement it allows the person to get in so thats why the breck is before the else statement well yea thank you for uaing my website can you give me a good review please i also added some java script so that be mad at the changing colors i actully made this back in march of 2026 like a few months ago i tried to put this code in here and post it in stardance but i found out i needed html to make it work so i spent my time making this like 2hr i made this when i was lernign python for the first time and when i was learning html and css for the first time and you know what im starting to learn javascript 2 days ago im trying to get the certificate the star dance one thats why im doing 2hr a day rigth now im at 19 after i finish this ill be at 21