Days Before N Days in Python

In the previous article we explored the sum of Natural Numbers in Python. Suppose we are given some days, each number means a successive different day for example: Sunday represents 0, 1 represents Monday, 2 represents Tuesday, 3 represents Wednesday, 4 represents Thursday, 5 represents Friday, 6 represents Saturday. The program calculates the number of … Read more

Arithmetic Operators in Python

At a basic level, computers only operate with numbers. Even within application programs in high-level languages, there are many numbers and operations internally. Fortunately, to get started it is enough to know the usual arithmetic. We will have a look at the various arithmetic operators in Python programming language. Arithmetic Operations & Arithmetic Operators in Python Before … Read more