Python pretty much follows the usual programming paradigms that we are all familiar with. It has all the variable assignment stuff you would expect, and it has five very basic data types.
By Pete Helgren
Editor's Note: This article is excerpted from chapter 9 of Open Source Starter Guide for IBM i Developers, by Pete Helgren.
No big surprises here except for “complex” numbers that, frankly, I don’t understand. You math geeks may be encouraged by the presence of a complex number, but, well, I haven’t used them. But integers, longs, and floats I understand.