Тёмный

Chapter 5 | Sets and Dictionaries -Python Tutorial for Beginners (With Notes) 

5G Guru
Подписаться 2,2 тыс.
Просмотров 10 тыс.
50% 1

In this Python Beginner Tutorial, we will begin learning about dictionaries. Dictionaries allow us to work with key-value pairs in Python. We will go over dictionary methods, how to add and remove values, and also how to loop through the key-value pairs. Let's get started. This Python tutorial explains how to create an empty dictionary, one with elements using both integer and string keys. We then look at how one can add elements to an existing dictionary and update it. We also learn to access and delete elements from a dictionary and then explore the various inbuilt functions used with dictionaries. Next, we move on to sets and understand what are sets, the purpose of sets, how to create sets and the various operations performed on them. Now let us get started and understand Python sets and dictionaries in detail with simple python programming. This video on Python Lists, Tuples and Dictionaries will help you learn about the three fundamental data structures in Python. You will look at lists in Python and understand its characteristics and various methods in Python. You will also learn about Tuples in Python and explore its characteristics and methods in Python. You will then learn about Dictionaries in Python, its characteristics and various methods in Python.
In this video, we are going to learn very important and powerful data structure of Python dictionaries and sets. I will explain the basics concepts and the options available in Python along with the practical code examples. And,
In short, we will discuss the following things in this python tutorial:
1. How Sets and dictionaries actually work?
2. How the best performance can be achieved from these data structures.
#python #python_lists #python_tuples #python3 #python_tutorial #python_data_structures #profiling #profiling_in_python #profile_python_code
In this video, you will learn how to use dictionaries in Python programming. Watch the full video to learn more about Dictionaries using Python programming.
What is Python? Python is a high-level object-oriented programming language developed by Guido van Rossum in 1989 and was first released in 1991. Python is often called a batteries included language due to its comprehensive standard library. A fun fact about Python is that The name Python was actually taken from the popular BBC comedy show of that time, ""Monty Python's Flying Circus"". Python is widely used these days from data analytics, machine learning, and web development. Python allows you to write programs in fewer lines of code than most of the programming languages. Python as a programming language is growing rapidly. It's the right time to get trained in Python.
A programming language needs to have support for numbers to carry out calculations. In Python, the numbers are categorized into different data-types and the types are implemented in Python as classes.There are three numeric types in Python: int for integers, float for decimal numbers, and complex for complex numbers.
This Tutorials explains the difference between List, Tuple, Set and Dictionary in Python DIFFERENCE BETWEEN LIST - square braces TUPLE - rounded braces SET - The set keyword DICTIONARY -
curly braces: made up of key-value pairs list1 =
["Computer", "Printer", "TV", "Camera", 89, 30.8] tuple1 = ("Computer", "Printer", "TV", "Camera", 89, 30.8)
set1 = set(["Computer", "Printer", "TV", "Camera", 89, 30.8])
dict1 = {
1: "Monday",
2: "Tuesday",
3: "Wednesday"
}

Опубликовано:

 

30 дек 2023

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 19   
@5GGuru-tc4io
@5GGuru-tc4io 6 месяцев назад
Please Support my effort by Subscribing MY Channel. Thanks!! Thanks a lot for watching this video.If you need pdf copy of the session, please click on following link: f4765268.sibforms.com/serve/MUIFALzfwuWswpnbZMyxKGDaOb3zVFOqU6KGjyUi4UTt_COCNshcz7dNgC0ZrW31pbnFIQYnWcRw9dDd1C6QhjNxGX6l2WBXvRDBW5KG65a6VLaFWi1SMn4dOQXNYQ_09dYNepFj1MTl0ZvPCn1PJAJDctVdycGu2SDRrigl8ocW5uqk3sK3-kWsqA0QBOD8dFsOkNNDZhtks3wH
@NoahJones-hl8hu
@NoahJones-hl8hu 6 месяцев назад
These tutorials are some of the best that I have seen out and cover a wide assortment of topics from Beginner to Advanced. Great Work Man!
@5GGuru-tc4io
@5GGuru-tc4io 6 месяцев назад
Thanks a lot Sir. It means a lot to me.
@myersdianna6884
@myersdianna6884 6 месяцев назад
I already took a graduate course for intro level Python-- and your videos are honestly better! chugging through the beginner videos as a refresher and I cannot wait to jump into the more advanced topics. I feel so lucky for finding such a great resource-- and it was easy, your videos are so widely recommended! Thank you for developing such a great and accessible course.
@5GGuru-tc4io
@5GGuru-tc4io 6 месяцев назад
Thanks a lot Sir. It means a lot to me.
@nehabansal7031
@nehabansal7031 6 месяцев назад
What a Legend! Someone going out of his way just to make knowledge available to others... that is Special. Congratulations Gaurav Sir, these videos are awesome ! You literally explained lists and dictionaries in the simplest terms possible. Thank you so much, I don’t know why professors cannot be like this. You literally gave me more of a clear understanding with the logic and the syntax behind creating dictionary lists with keys and values, as opposed to how my professor does it. Thanks so much. I subscribed. Looking forward to more tutorials.
@5GGuru-tc4io
@5GGuru-tc4io 6 месяцев назад
Thanks a lot !!
@vijaygoyal5121
@vijaygoyal5121 6 месяцев назад
You are absolutely a lifesaver! My compsci prof is really smart, but absolutely terrible at explaining things efficiently. I understand more about dictionaries now after your 30-minute video than I previously did after my 3-hour lecture. Thank you so much, I will definitely be subscribing. Thanks Dear.
@5GGuru-tc4io
@5GGuru-tc4io 6 месяцев назад
Thanks a lot Sir. It means a lot to me.
@Brie_Latahan
@Brie_Latahan 6 месяцев назад
I was struggling to learn Python.Even I took a course to learn Python.But I will Thumbs UP to you for explaining all the topic in such a easy.Your videos are the best.With each video, I am gaining confidence. Thanks Gaurav Sir.
@5GGuru-tc4io
@5GGuru-tc4io 6 месяцев назад
Thanks a lot Sir. It means a lot to me.
@user-qj6dt3np8v
@user-qj6dt3np8v 6 месяцев назад
Having studied the Python Institute PCAP course, I'm finding this very helpful and I am experiencing some topics that weren't touched, which are useful for data analysis. Stuffs like union, intersection and difference... I'll definitely be watching till the end and will watch all videos again... Thanks for this Gaurav Sir...
@5GGuru-tc4io
@5GGuru-tc4io 6 месяцев назад
Thanks a lot Sir. It means a lot to me.
@Rashmi12445
@Rashmi12445 6 месяцев назад
Hey Gaurav Sir, I know these videos are geared towards beginners like myself - and also a few years old at this point - but it would be helpful to explain how each concept in the tutorials are used in the real world, beyond just printing out values. Hopefully this makes sense! Thank you for the instruction - I appreciate your teaching style
@5GGuru-tc4io
@5GGuru-tc4io 6 месяцев назад
Thanks a lot Sir. It means a lot to me.
@Jenny45694
@Jenny45694 6 месяцев назад
You are amazing, went through other platform courses, even paid ones, but yours's is simply amazing. Thank you for existing . The way you explain every detail that too without letting us feel pressurized is so rare. Thanks a lot Gaurav sir ❤💯👏🙏
@5GGuru-tc4io
@5GGuru-tc4io 6 месяцев назад
Thanks a lot Sir. It means a lot to me.
@Sandi_B366
@Sandi_B366 6 месяцев назад
Thanks a bunch to you Gaurav Sir, I tried to learn Python from a number of resources, but I am able to understand and continue only your explanation. Your selfless service means a lot to a whole lot of people. I am learning Python to do some competitive programming, if possible can you make some videos which would need some logical thinking and apply algorithms in Python, which could set the path to take up competitive programming.
@5GGuru-tc4io
@5GGuru-tc4io 6 месяцев назад
Thanks a lot Sir. It means a lot to me.
Далее
Хотите поиграть в такую?😄
00:16
OG Buda - Сделай Мне Приятно Щас
02:24
The Ultimate Guide to Writing Classes in Python
25:39
Просмотров 107 тыс.
ALL 11 Dictionary Methods In Python EXPLAINED
9:26
Просмотров 53 тыс.
You Can Do Really Cool Things With Functions In Python
19:47
Dictionary in Python
12:24
Просмотров 1,3 млн
Хотите поиграть в такую?😄
00:16