Python-Documentation-Notes This Contains Complete Postmortem of Python How to use switch in Python def switch(x): match x: case 10: print('This is case 10') case 11: print('This is case 11') case _: print('Invalid Case') switch(30)