Free Python Tutorial for beginners - Enumerate ZIP Function Unleashing its FullPotential with For Loop - How to use Enumerate in python with Zip and for loop.
Subscribe Here -https://www.youtube.com/@KeeshtuTechn...
#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
--------------------------------------------
welcome to technology platform so today we are going to say like the functions with for Loop earlier sessions we have seen like how to use zip functions with set list tuples and dictionary now we can see like um how to use it with um for Loop like normally we can see like for Loop we already seen But Here how we can use this kind of zip functions some tricky but we can see it so now I just opened I now see this I'll type it Str name and type it small letter Str name equal to X y and DZ and then I'll say like Str marks equal to 10
8 6 like that I just typed it now normally you can see it the zip function is like normally print off and then set something like that I just use a zip off HDR name comma Str Mark so this is what the chip functions we already seen right so is that a 6 x 10 and Y is eight now how we can use it in for Loop see this for you can use it Str name comma Str marks
and then in then zip off Str name comma Str marks so this is one of the variable and here we are using this functionality here no need set let's see it now enter okay colon is missing
colon is missing enter then print off open and then Str name comma Str marks let's see
now it is available you are able to see right so this kind of thing so we are using for Loop but something um it is tricky we are able to use this kind of things so like this we can use it um Tuple and some more things and we can see one by one and remember it also we can use it let's see now that is also just my system just hang one minute let me open this
so it is fine now now normally how we can use it like one more thing is also you have seen it so zip with the range that is also one more thing this is for Loop but one more thing is that uh let's see you're using this kind of variable right so instead of that you can use it print off set of zip off Auto generate number so this is like Auto generate number range like I need 10. comma another 15 number
let's see how how it will work but it will error message or we'll see
this
it's an auto generate number you can see it how it works so 10 1 2 3 4 5 6 7 8 9 10 10 generator but this 15 is skipped see now [Music] range is 15 and then this one is 10.
and this is also you can see 0 0 1 1 2 2 3 3 4 4 5 5 6 6 7 7 anything it's within 10 only this was this this was iterated so this is one of the things and one more thing is that um enumerate and that is also we can see it now so how it works with uh ZIP functionality with enumerate so normal enumerate you can see it I will use the same value or else let's see now um we can say like for I in
enumerate and then I'll say like range of three or four something like that I will return let's see whether it is working or not based on that I will change it with shift functionality printer I see this this is called enumerate it will auto generate so if you print it I like 0 and enumerators like 0 so like this this is called something Auto generate number this is I value and this is enumerate value so two things you can see now right now you can see with the zip functionality how it works let's see
if these two things
and then enter Because this Arrow Mark is missing that's why it is raising another message now see this for we are using name Str name comma Str marks in enumerate I am using zip off names comma edges colon
anything another one I missed it open it paste it this is not required and then tap print of HDR name comma HDR marks let's see now
okay no sorry
string
I'm sorry I used wrong variable Str marks yeah you can see it so x n y 8 is at 6 x 10 Y8 is at 6 is the content and 0 1 2 is a enumerate number this is automatically generated and one more thing is also this is fine yeah so like this you can use it enumerate with zip with far Loop see you in the next session bye
En esta página del sitio puede ver el video en línea Python tutorial - Python function ZIP - How to use ZIP functions in Python de Duración hora minuto segunda en buena calidad , que subió el usuario KeeshtuTechnology 12 agosto 2023, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 8 veces y le gustó 0 a los espectadores. Disfruta viendo!