Sayantan's Blog On Python Programming

PYTHON NUMBERS

PYTHON NUMBERS

PYTHON FLOATING POINT NUMBERS

PYTHON FLOATING POINT NUMBERS INTRODUCTION: Floating point numbers are also working the similar way like Integer. They only have the decimal part. WORKING WITH FLOATING VARIABLES: Simple adding using variables: PYTHON FLOATING POINT NUMBERS : Output In the above example we have simply put two floating number into two variables a and b. Then calculate …

PYTHON FLOATING POINT NUMBERS Read More »

PYTHON CALCULATORS

PYTHON CALCULATORS BODMAS RULE: ADDITION & SUBTRACTION: Addition and Subtraction operator are just + and – of simple arithmetic. PYTHON CALCULATORS : Output In the above example we have seen the various combination of addition and subtraction. Using parenthesis has the same impact as in BODMAS rule. MULTIPLICATION: PYTHON CALCULATORS : Output DIVISION: PYTHON CALCULATORS …

PYTHON CALCULATORS Read More »