How To Write Switch Statement In Python