开闭原则

def func(food):
    print("吃东西")


func()
func()
func()
func()
func()
func()
func()
func()
func()
func()
func()
func()
func()
func()

  

posted @ 2018-12-14 16:36  =-=-  阅读(114)  评论(0编辑  收藏  举报