2. Python Programming: Banking System
Intermediate-level Programming video in Tamil by Collectiva Knowledge Academy, 18 minutes long, published 26 Dec 2023.
Python Programming Youtube Playlist: https://cka.collectiva.in/t/python Python Program used in this video: ``` class BankAccount: def __init__(self, account_holder, balance=0.0): self.account_holder = account_holder self.balance = balance def deposit(self, amount): self.balance += amount print(f"{self.account_holder} - Deposited ${amount}. New balance: ${self.balance}") def withdraw(self, amount): if amount > self.balance: print("Insufficient funds!") else: self.balance -= amount print(f"{self.account_holder} - Withdrew ${amount}. New balance: ${self.balance}") def get_balance(self): return self.balance def __str__(self): return f"Account Holder: {self.account_holder}, Balance: ${self.balance}" # Example usage of the BankAccount class if __name__ == "__main__": # Creating accounts ramuAccount = BankAccount("Ramu") somuAccount = BankAccount("Somu", 1000.0) # Performing transactions ramuAccount.deposit(500.0) somuAccount.withdraw(200.0) # Displaying account information print(ramuAccount) print(somuAccount) ``` Our categorized YouTube course links. (in Tamil) *** Most popular courses *** C Programming: https://cka.collectiva.in/t/c C++ Programming: https://cka.collectiva.in/t/cpp Java Programming: https://cka.collectiva.in/t/java C# Programming: https://cka.collectiva.in/t/csharp Android application development: https://cka.collectiva.in/t/android *** Computer Fundamental Courses *** Computer Fundamentals: https://cka.collectiva.in/t/cf Microsoft Word: https://cka.collectiva.in/t/word Microsoft Excel: https://cka.collectiva.in/t/excel Microsoft PowerPoint: https://cka.collectiva.in/t/powerpoint *** Software Development Foundation Courses *** Batch Processing: https://cka.collectiva.in/t/batch C Programming: https://cka.collectiva.in/t/c C Quick Refresher: https://cka.collectiva.in/t/cqr C++ Programming: https://cka.collectiva.in/t/cpp Java Programming: https://cka.collectiva.in/t/java Logical Thinking: https://cka.collectiva.in/t/lt *** .Net Foundation Courses *** VB.Net: https://cka.collectiva.in/t/vbnet C# : https://cka.collectiva.in/t/csharp WCF (Window Communication Foundation): https://cka.collectiva.in/t/wcf Sql Server Database Designing: https://cka.collectiva.in/t/sqlserver *** Web Development Courses *** HTML: https://cka.collectiva.in/t/html CSS: https://cka.collectiva.in/t/css JavaScript & jQuery: https://cka.collectiva.in/t/js ASP.Net: https://cka.collectiva.in/t/aspnet ASP.Net Mini Project: https://cka.collectiva.in/t/aspminiproject ASP.Net MVC: https://cka.collectiva.in/t/mvc *** Mobile Application Development *** Android Foundation: https://cka.collectiva.in/t/android Android Mini Project: https://cka.collectiva.in/t/androidprj *** Designing Course *** Photoshop Foundation: https://cka.collectiva.in/t/photoshop #collectivaknowledgeacademy #pythonintamil #pythonprogrammingtutorial…more
Python Programming Youtube Playlist: https://cka.collectiva.in/t/python Python Program used in this video: ``` class BankAccount: def __init__(self, account_holder, balance=0.0): self.account_holder = account_holder self.balance = balance def deposit(self, amount): self.balance += amount print(f"{self.account_holder} - Deposited ${amount}. New balance: ${self.balance}") def withdraw(self, amount): if amount > self.balance: print("Insufficient funds!") else: self.balance -= amount print(f"{self.account_holder} - Withdrew ${amount}. New balance: ${self.balance}") def get_balance(self): return self.balance def __str__(self): return f"Account Holder: {self.account_holder}, Balance: ${self.balance}" # Example usage of the BankAccount class if __name__ == "__main__": # Creating accounts ramuAccount = BankAccount("Ramu") somuAccount = BankAccount("Somu", 1000.0) # Performing transactions ramuAccount.deposit(500.0) somuAccount.withdraw(200.0) # Displaying account information print(ramuAccount) print(somuAccount) ``` Our categorized YouTube course links. (in Tamil) *** Most popular courses *** C Programming: https://cka.collectiva.in/t/c C++ Programming: https://cka.collectiva.in/t/cpp Java Programming: https://cka.collectiva.in/t/java C# Programming: https://cka.collectiva.in/t/csharp Android application development: https://cka.collectiva.in/t/android *** Computer Fundamental Courses *** Computer Fundamentals: https://cka.collectiva.in/t/cf Microsoft Word: https://cka.collectiva.in/t/word Microsoft Excel: https://cka.collectiva.in/t/excel Microsoft PowerPoint: https://cka.collectiva.in/t/powerpoint *** Software Development Foundation Courses *** Batch Processing: https://cka.collectiva.in/t/batch C Programming: https://cka.collectiva.in/t/c C Quick Refresher: https://cka.collectiva.in/t/cqr C++ Programming: https://cka.collectiva.in/t/cpp Java Programming: https://cka.collectiva.in/t/java Logical Thinking: https://cka.collectiva.in/t/lt *** .Net Foundation Courses *** VB.Net: https://cka.collectiva.in/t/vbnet C# : https://cka.collectiva.in/t/csharp WCF (Window Communication Foundation): https://cka.collectiva.in/t/wcf Sql Server Database Designing: https://cka.collectiva.in/t/sqlserver *** Web Development Courses *** HTML: https://cka.collectiva.in/t/html CSS: https://cka.collectiva.in/t/css JavaScript & jQuery: https://cka.collectiva.in/t/js ASP.Net: https://cka.collectiva.in/t/aspnet ASP.Net Mini Project: https://cka.collectiva.in/t/aspminiproject ASP.Net MVC: https://cka.collectiva.in/t/mvc *** Mobile Application Development *** Android Foundation: https://cka.collectiva.in/t/android Android Mini Project: https://cka.collectiva.in/t/androidprj *** Designing Course *** Photoshop Foundation: https://cka.collectiva.in/t/photoshop #collectivaknowledgeacademy #pythonintamil #pythonprogrammingtutorial