TAKING USER INPUT IN PYTHON

Programs are written to solve end user’s problem. To do this you need to get some information from user, at that time input ( ) function is used. What input ( ) function does: While run time when python sees input() function. In the program it pauses the program and wait for the user to … Continue reading TAKING USER INPUT IN PYTHON

if,else,elif Statements in python

if Statements in Python allows us to tell the computer to perform alternative actions based on a certain set of results. Verbally, we can imagine we are telling the computer: "Hey if this case happens, perform some action" We can then expand the idea further with elif and else statements, which allow us to tell the computer: "Hey if this … Continue reading if,else,elif Statements in python