Match-Case Statements In Python | Python Tutorial

preview_player
Показать описание
In this video I show you how to use match-case statements in Python!

#python #ifstatement #ifelse #pythonifelse #logic #programming #coding #pythontutorial #pythoncode #codingforbeginners #freecodingclass #pythonforbeginners #conditionaloperator #elif #else #pythonlogic #logicgate #computerscience #compsci #computer #matchcase #matchcasestatement #howtomatchcase #howtopython
Рекомендации по теме
Комментарии
Автор

Make sure you don’t have any irrefutable statements until the last line or it’ll throw an error

Starman
Автор

So this is like switch statements without the break

Sreedharashwin
Автор

Maybe it's just a bad example you did. But you made the code longer. Seems like the case has the exact same function as the if elseif statement.

What are the actual benefits to using case statements?

dannnyqu
Автор

So what’s the improvement by doing this? (Genuinely curious)

VanillaSpooks
Автор

This usecase does not fit the intended implementation of match case in python; be careful what you see on the internet or what you think you teach

luiscanterohernandez
Автор

I dont understand how people who didnt know this can get jobs but I, with a 4 year degree and 2 yoe cannot get a single interview.
World is going to shit ngl.

nc
join shbcf.ru