zip Function in Python|unzip Using zip in Python|Python Tutorial For Beginners in Hindi

preview_player
Показать описание
zip Function in Python|unzip Using zip in Python|Python Tutorial For Beginners in Hindi
you will learn:-
1) zip function in python
2) unzip using zip function

source code :-

About Python Tutorial:- python for beginners-Go from Zero to Hero in python.This tutorial includes python programming videos from basics to advanced

More tutorials:-

About codeyug :-
Codeyug provides tutorials for building your programming skills.Here,you will learn various programming languages,computer science,web development with free of cost.

SHARE | SUBSCRIBE | LIKE
-- - - - - - - - - - - - - - - - - -Thanks for watching this video - - - - - - - - - - - - - - - - - -- -
Our social links:-
creator:-
$ -shantanu kejkar -$

#python #python3 #programming #codeyug #comments #tutorial #beginners #coding
Рекомендации по теме
Комментарии
Автор

#How to unzip? using zip function
"""syntax:
var1, var2....= zip(*zip_obeject)
*zip_object : the zip varible"""


names= {"karan", "ashish", "raj"}

roll = {1, 2, 3}

#first ziping the above iterables
#and storing them in a zip_object varible

zip_object= zip(names, roll)

#unzipping them using zip

student, marks = zip(*zip_object)

#printing the unzip varible one by one.

print(student)
print(marks)

KaranSinghD-yjep
join shbcf.ru