minus-squareSjmarf@sh.itjust.workstoProgrammer Humor@lemmy.ml•The meaning of `this`linkfedilinkEnglisharrow-up14arrow-down1·15 hours agoPython does have a switch statement now, actually. And yes, they went out of their way to call it something different - match. https://docs.python.org/3/tutorial/controlflow.html#match-statements linkfedilink
Python does have a
switch
statement now, actually. And yes, they went out of their way to call it something different -match
.https://docs.python.org/3/tutorial/controlflow.html#match-statements