#30 Python Programming – Modules, Package and Object-Oriented Programming
Python modules Module is a python file which contains python data members i.e., statements and definitions.A file containing Python code,...
Python modules Module is a python file which contains python data members i.e., statements and definitions.A file containing Python code,...
Python Function Python functions are classified into two types Built-in functions (or) library functions ( example: print(),sort(),list() etc., ) User defined functions...
Python Conditional Statements if statement The if statement contains a logical expression using which data is compared and a decision is made...
Mathematical functions Python supports a wide variety of mathematical functions. FunctionReturnsExampleabs(x)Returns the absolute value of xx = -35;x = abs(x)print(x)cmp(x,y)Returns...
Till now you know the basics of Python programming and able to make simple program. Now lets go little more...
If you are just starting your journey as a Programmer, then I highly recommend you to start with Python. Here...