Category: Python
Python map(), filter() , any() and all()
map(): The map() function is used to apply a given function to every item of an iterable, such…
lambda Function in Python
They are basically anonymous function. A lambda expression starts with the word lambda then followed…
Shallow Copy Vs Deep Copy
Consider a dictionary: animals= { "lion" : "scary", "elephant" : "big", "teddy" : "cuddly", }…
Python DocString and Function Annotation
Docstring stands for documentation strings. Python docstrings are the string literals that appear right after…
Tuple in Python
Tuple are ordered set/collection of data separated by comma. Like list they are also sequence…
String in Python
String is basically “sequence of characters”. Characteristics of String: It is used to refer to…