All posts by Vern

What is a Floating Point Number?

In short, a floating point number is number that represents decimal values like 3.1415 Contrast that with an integer like 11 . Demo Python Code The code below declares and then prints the data type, in Python, of a floating point number and an integer. The Parts of a Floating Point Number significand – the number’s actual digits exponent … Continue reading What is a Floating Point Number? →

Variable Types in Python

Table of Contents for this Page Common Variable types Python’s built in [crayon-65f90b6f13370629416145-i/] function Naming Conventions for Variables (snake vs camel case) Python supports the basic types of variables that  you would expect from a general purpose language. These are listed below. Number floating point  integer String (more here) Boolean List (more on lists here) Dictionary Tuple Example … Continue reading Variable Types in Python →