Concepts of Python in Data Science Numbers: Using the numbers we can do some arithmetic operations on that. 1. Addition of two numbers using print function: 2+3 print(2+3) 5 5 2. Subtraction of two numbers using print function: 3-2 print(2-3) 1 1 3. Multiplication of two numbers using print function: 3*2 print(2*) 6 6 4. Division of two numbers using print function: Note: If we use one ("/") this we can get floating point number. Instead of that we use floor division that gives quotient. ...
Comments
Post a Comment