Python all & any built-in function

BadariNath
Sep 24, 2021

--

I have been using python for a couple of year only ,still learning lot of simple and new things. Recently I came to know about two built-in functions named all and any. Today while I was solving a problem , I used both functions which makes the code a bit nicer ,in my opinion.

The functions compares two singly linked lists and if they are equal ,returns 1 ,otherwise returns 0.

--

--

BadariNath
BadariNath

Written by BadariNath

I'm a graduate student. I'm so interested on writing blogs about tech. so keep follow and update about tech changes in world

No responses yet