Nov-18-2017, 02:19 PM
I always actually thought when doing c++ that switch was repetitive. I always just used the if condition there. But when i came to python, i loved the dictionary method. I never looked back.
Recommended Tutorials:
Where is "switch" statement ? Do nobody needs it ?
|
|