BASIC DATA TYPES IN PYTHON
NUMERIC Numeric data can be broadly divide into integers and real numbers (i.e. fractional numbers). Integers can themselves be positive and negative. Unlike many other programming languages, Python does not have any upper bound on the size of integers. The real numbers or fractional numbers are called floating point numbers in programming languages. Such floating point numbers contain a decimal and a fractional part. Let us look at an example that has an integer as well as a real number: STRING A String in Python can be a series or a sequence of alphabets, numerals and special characters. Similar to C, the first character of a string has an index 0. Single quotes or double quotes are used to represent strings. There are many operations that can be performed on a string. There are several operators such as slice operator ([] and [:]), concatenation operator (+), repetition operator (*), etc. Slicing is used to take out a subset of the string, concatenation is us...