Switch Case in Python | Switch Case Statement in Python | Python Tutorial | Brain Mentors

Switch Case in Python | Switch Case Statement in Python | Python Tutorial | Brain Mentors

BrainMentors Pvt Ltd

4 года назад

50,890 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

HEAL._. AEP
HEAL._. AEP - 08.08.2023 18:54

Thanks

Ответить
Ashish kumar
Ashish kumar - 26.07.2023 17:29

One doubt hai puchho to batao

Ответить
Sriharsha Vardhan
Sriharsha Vardhan - 02.01.2023 16:58

How to write program for random choice, instead of giving our choice in run time? Can you please help

Ответить
kami tik
kami tik - 03.09.2022 04:42

so if I want to keep going for looping (before the programs end) I just put it on While loop?

so switch cases basically the same as if else, correct?

Ответить
Muchanga, Zefanias Zeferino
Muchanga, Zefanias Zeferino - 17.06.2022 14:36

Me encontrou na ultima hora
Já já tenho teste de phyton. VALEU

Ответить
Umesh Dangi
Umesh Dangi - 20.05.2022 15:00

Thank you, life-saving content for programmers 😁

Ответить
VILSENAT NEW TECH
VILSENAT NEW TECH - 17.04.2022 11:44

Add try,except and finally exception would explain more the action of that program.

Ответить
VILSENAT NEW TECH
VILSENAT NEW TECH - 17.04.2022 11:37

You explain well but you need to specify the EndexError when you choice the number zero or 5 it's not execute.

Ответить
Lavanya Ratna
Lavanya Ratna - 13.04.2022 12:01

while using dictionary, it is exiting the loop after executing one option, how do i continue in the loop

Ответить
Abdellatif DZ
Abdellatif DZ - 31.01.2022 12:16

Thank you so much

Ответить
Darwin Quiñones
Darwin Quiñones - 20.12.2021 07:32

Thanks a lot Professor. Regards from Colombia.

Ответить
Manasa Bs
Manasa Bs - 13.11.2021 10:56

How to pass arguments there ?

Ответить
Siddivinayaka Sahukari
Siddivinayaka Sahukari - 20.10.2021 16:54

Bro can use this same code using lists.....??

Ответить
Harshit shandil
Harshit shandil - 06.10.2021 21:13

thanks bro

Ответить
Uday Aryan Chowfla
Uday Aryan Chowfla - 28.08.2021 11:57

awesome !!!!!!!!!!!!!!!!!!!!!

Ответить
Muhammad Aslam
Muhammad Aslam - 26.06.2021 16:36

kia hm conditional.statents use kr skty hym default case mn.....?

Ответить
Adinath Sangaj
Adinath Sangaj - 06.06.2021 08:31

How to implement this in class ? please can you reply me asap ?

Ответить
Aarti Ghar
Aarti Ghar - 28.05.2021 07:27

Thanks Buddy for clear explanation

Ответить
Yash Koolwal
Yash Koolwal - 12.05.2021 10:17

where is the code file??? is there any

Ответить
Sean Edrick Andres
Sean Edrick Andres - 06.05.2021 18:06

Thank you professor! :>

Ответить
Gʋɗɗʋ Aŋsʌʀɩ
Gʋɗɗʋ Aŋsʌʀɩ - 22.03.2021 05:18

Plzzzz Work on Sound...

Ответить
Muhammad Najam Ul Islam
Muhammad Najam Ul Islam - 16.03.2021 14:17

very nice

Ответить
Varun Nair
Varun Nair - 07.03.2021 14:38

Hey, great video. But the whole point of the switch case is that we can do one case after the other until we are done during which we will enter the "quit" case to end the program. How to choose one case after the other until I decide I want to leave the program which is what switch case allows me to do.

Ответить
shuja aziz
shuja aziz - 16.02.2021 14:19

thanks a lot very useful.

Ответить
DT Vines
DT Vines - 05.02.2021 13:01

Great

Ответить
Monica Gutierrez
Monica Gutierrez - 24.11.2020 16:32

Thank you! Very Useful :)

Ответить
n!k
n!k - 12.11.2020 20:40

Whenever I use Default = None . It says "TypeError: dict.get() takes no keyword arguments"

Ответить
PokéEra
PokéEra - 08.10.2020 18:16

Is this alternative faster than if/else

Ответить
sojino
sojino - 22.09.2020 19:54

You are very good 👍👍👍

Ответить
Atharva Varule
Atharva Varule - 14.09.2020 13:28

Good idea of using list and dictionary 👍

Ответить
Xeon Dev 1337
Xeon Dev 1337 - 09.09.2020 17:21

Govnocode

Ответить