Switch Case in Python | Switch Case Statement in Python | Dictionary in Python | Hindi Tutorial

preview_player
Показать описание
#python #switchcase #telusko
In this video we have discussed about alternative of switch case in Python. There is no switch statement in python but can perform operation like switch case in other way using dictionary.
You will also learn about nested if-else and dictionary in this video.

Chapters-
00:00 Introduction and task
01:54 Nested if-else
03:42 What is Dictionary in python
06:58 Using dictionary to achieve switch case in python

Dictionaries are used to store data values in key-value pairs. A dictionary is a collection which is ordered, changeable and does not allow duplicates. As of Python version 3.7 dictionaries are ordered. In Python 3.6 and earlier dictionaries are unordered. Dictionaries are written with curly brackets and have keys and values.

Viewer query solved in video-
switch-case in python
alternative of switch case
switch case in hindi
what is dictionary
dictionary in python
explain dictionary in hindi
nested if-else in python

Some other python lecture videos:

Join our channel to learn Python in hindi.

Follow me on Instagram : @ranaprince1234
Рекомендации по теме
Комментарии
Автор

Thank you sir, I understood it well.😊

NandkishorKaiwartya
welcome to shbcf.ru