Python Float and Complex Numbers (Theory of Python) (Python Tutorial)


Let’s review the number system in math. Note that we can never represent irrational numbers in binary. We instead use floats to roughly estimate rational numbers. IEEE 754 is the standard definition for floats. Python float literals need a decimal point or e/E (or both). Complex numbers can be formed with the imaginary literal.

Support me by buying from Amazon through my affiliate link:

Here’s my Patreon account if you want to give me money:

Other ways to support Real Physics:


Thank you!

(Visited 3 times, 1 visits today)