MakeItSimple
Toggle
Home
C language
FAQs
Programs
Python
FAQs
Programs
HTML
Programs
FAQs
CSS
Javascript
FAQs
Programs
PHP
FAQs
Programs
JQuery
FAQs
Programs
AJAX
Bootstrap 3
Website
Python Examples
25. zip() function example.
a = [2,3,4] b = ['two','three','four'] res = list(zip(a,b)) print(res)
Output :
[(2,'two'),(3,'three'),(4,'four')]