python学习 05 函数switch功能

1.python没有switch功能,利用字典实现

如果用if else,可行但是效率不高

原文地址:https://www.cnblogs.com/alamZ/p/6407575.html