[Python设计模式] 第12章 基金理财更省事——外观模式
github地址:https://github.com/cheesezh/python_design_patterns题目1用程序模拟股民直接炒股的代码,比如股民投资了股票1,股票2,股票3,国债1,房地产1.class Stock1(): def sell(self): print("卖出股票1") def buy(self): print(...