Python Tips & Tricks: Switch Statement




[ad_1]

Source


[ad_2]

Comment List

  • Noureddin Sadawi
    November 30, 2020

    Such an excellent and straightforward description! Thanks so much!

  • Noureddin Sadawi
    November 30, 2020

    Thank you sir. You are awesome !

  • Noureddin Sadawi
    November 30, 2020

    Use a dictionary to replicate a switch statement.

  • Noureddin Sadawi
    November 30, 2020

    Noob here, just can anyone explain what advantage that this has over a regular IF statement?

  • Noureddin Sadawi
    November 30, 2020

    Don't use def in this

  • Noureddin Sadawi
    November 30, 2020

    Nice explanation

  • Noureddin Sadawi
    November 30, 2020

    Awesome man, I have been struggling to get my head wrapped around this but this short video made it all clear! Thanks

  • Noureddin Sadawi
    November 30, 2020

    makes sense, thanks

Write a comment