Calculator program in Python

In the preceding article we have written a program to determine whether a given year is a leap year. Now we will look at a program to implement basic common calculator utility functions for user-given input numbers for whichever operation is selected. If we imagine a calculator and it’s working, we understand that there needs … Read more

if-else and elif statements in Python

In this article we will explore the If-else and elif statements in Python. These statements exist to execute code if certain conditional statements are satisfied. They can be very helpful for specific needs or tasks. For example while working on an online form, which requires the user to enter a username. The user has strongly … Read more