Integers in python are 0, positive and negative whole numbers. They are written without commas and when using a negative integer, it leads with a negative sign. The code is int data type, the python integers are large and limited only by the computer’s memory.

Floating-Point Numbers consist of a whole number, a decimal point, and a fractional part. Infinite Precision **is** the property of a real number, in which its fractional part consists of an infinite number of digits. Python uses floating -point numbers which is a data type that represents real numbers in a computer program. It can be written in either decimal notation or scientific notation. Here is an example of decimal notion 3.78 and scientific 3.78e0.

Character Sets in Python, character literals look just like string literals and are of the string type. Example ‘H’ is a character and “Hi!” as a string. ASCII and Unicode are the sets, ASCII set is the American Standard Code for Information Interchange ordering for a character set. Unicode Set is a character set that uses 16 bits to represent over 65,000 possible characters. These include the ASCII character set as well as symbols and ideograms in many international languages. You can look at a ASCII table and determine what they are. Python ord and chr function convert characters to their numeric ASCII codes and back.

Example

ord('a")

97

chr(65)

‘A’

RefLAMBERT, K. E. N. N. E. T. H. A. (2018). *Fundamentals of python - first programs Pg Chapter 2, 2-3 through 2-3c*