Posts

Showing posts from May, 2018

Starting Python...

Image
Operators in Python :  Mainly there are  seven  differnt types of operators. They are as follows. Arithmetic operators  Assigment operators Comparison operators Logical operators Bitwise operators Identity operators Membership operators 1. Arithmetic Operators : (+, -, *, / , ** , %, // )  + :  Add two operands               i.e. 2+3 =5  -  :  Subtract two operands      i.e. 3-2 = 1  * :  Multiply two operands       i.e. 3*3= 9  /  :  Divide two operands          i.e. 4/2 =2 **:  Left operand raise to the power of right   2**3 =8 // :  Modulus operator : division that result into whole number adjusted to the left in the number line.   i.e. 7//3 =2 Below example of  arithmetic operators are given below. Please practice and feel free to ask question if yo...

A handy way to python..

Well ! Many of computer science students know C/C++ or Java which are more poplar among students and in software Industry but another more powerful programming language emerging is  Python .  Python is both  Procedure Oriented  as well as  Object Oriented Language.  It is Simple to write with  minimum syntax  on Python code. It can be considered a  generalized language  of all popular programming languages. Its  execution time for a code is much faster  than any other programming languages. There are many  IDE(Integrated Development Environment)  for Python such as Jupyter Notebook, Pycharm, IDLE,  PyDev etc.. but First two are popular among the coders. NOTE :  Python was created by  Guido Rossum  in the year  1989 .   A question may arise in many of your mind  Who uses Python and why ?  The answer is simple but intresting companies like  Google, Youtube, Dropbox, R...