Python3 Types of functions
Python Functions Types of Functions: 1. Built-in Functions 2. User-defined Functions Built-in Functions : 1 . abs() #find the absolute value num=-100 print(abs(num)) output: 100 2 . all() #return value of all() function True : if all elements in an iterable are true False : if any element in an iterable is false Eg: lst=[1,2,3,4] print(all(lst)) lst1=[0,2,3,4] print(all(lst1)) output: True False lst=[ ] print(all(lst)) lst1=[False,1,2] #False present in a list, then all(lst) is also False ...