Free Python tutorial - Python ZIP Function - A Handy Tool for Merging Lists, Sets, Dictionary and Tuples
Subscribe Here -https://www.youtube.com/@KeeshtuTechn...
#pythonzip #pythonzipped #pythonziplist #pythonziplist #pythonziptuple #pythonzipdictionary #python #pythonprogramming #pythontutorial #pythonforbeginners #youtubechannel #pythoninstallationcomplete #pythonhowtoinstall #pythoninstall #pythondownload #pythontutorialfree #pythonyoutube #pythonenglish #pythonenglish #pythonexecvseval #pythonexec()vseval() #pythonexec() #pythoneval() #youtubeviews
Please Captions on - Python in English, Python in Tamil, Python in Telugu, Python in Malayalam, Python in Chinese, Python in Japanese, Python in German, Python in Hindi, Python in French
hello welcome to technology platform so today we are going to see like um zip function to use a term python zip function like that we can see it so it it is nothing like just merging to list or more than one list or more than one set or more than one dictionary or more than one tuples so like that we want to just merge it so because of that we are using it but how to use it we can save now let me open item [Music] okay the zip function is like this is the keyword that's it now how do we use first we can see like I'm just using course
course equal to I'll say like
python and then Java and then
like that I am just using it now one of that is like
python 1000 Java thousand hundred .net thousand two hundred so like that I'm just using it
[Music] if you want to merge this how I am going to merge it now you can see so this is what uh now print we can say like simple first you will see what is the error message and then I will update you I'm just using only this one so of course comma V
course comma V now let's see what is the error message so you are getting like Zip object something like that you are getting it so because of that we are going to use set r list or Tuple r missionary now let's see how to use it
print off zip off
sorry set of zip off I will use it course comma p set means you can see like python 1000 Java thousand hundred dot net thousand two hundred like that it will come it's
see this Java thousand hundred dot net thousand two hundred python thousand so like that you can merge it by using some functions here set or list or something like that now you can see this how do you so set means you can see this kind of bracket and within this bracket it will come like this now you are going to use it list you can see it now how it works [Music] list see this how list is working so only this bracket is changing other than that this is fine now print off
Tuple
this Tuple now see this bracket
now print off
dictionary let's see text so here python thousand so dictionary means it's a key and value so for the dictionary I will change something like this see this now
um so here I will give like [Music]
metadata something like this
I'll say like
course name
and then
p [Music] like this I'm using it now I'll say like python
a thousand something like that I am using it
data one Str data now let's see
you have to use it this three double dots right because of that it is creating another so now [Music] printer
and then
metadata and then HDR data let's see now you can see it course name is python is thousand so like this you can see how it is working like um set Tuple and then dictionary so we'll see you in the next class like with for how we can use it enumerate so this kind of things we can see in the next class thank you bye