go-fundamental-programming icon indicating copy to clipboard operation
go-fundamental-programming copied to clipboard

《Go 编程基础》是一套针对 Google 出品的 Go 语言的视频语音教程,主要面向新手级别的学习者。

Results 2 go-fundamental-programming issues
Sort by recently updated
recently updated
newest added

BankAccount: def __init__(self, account_number, account_holder_name, initial_balance): self.__account_number = account_number self.__account_holder_name = account_holder_name self.__account_balance = initial_balance def deposit(self, amount): if amount > 0: self.__account_balance += amount print(f"Deposited ₹{amount}. New balance: ₹{self.__account_balance}")...

![image](https://github.com/user-attachments/assets/2f32745b-24b5-4de3-9d28-b80c80359e85) 应判断 a, ok := m[2],而不是 a, ok := m[2][1]