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
Tag: PYTHON
Errors and Exception Handling
In this blog we will learn about Errors and Exception Handling in Python. You've definitely already encountered errors by this point in the course. For example: Note how we get a Syntax Error, with the further description that it was an EOL (End of Line Error) while scanning the string literal. This is specific enough … Continue reading Errors and Exception Handling
DATA TYPES IN PYTHON
Since everything is object in python programming, So every values in python has a data type.The various data types in python are: Numbers. List. Tuples. Strings Set Dictionary 1.Numbers In python numbers are categorized as : Int (ex: 3, 4, 5 , …) Float (ex: 3.0, 4.0, 5.0 , …) Complex (ex:1+2j, 2+3j , 2+5j, … Continue reading DATA TYPES IN PYTHON


