Python

Lessons

Numbers in V2

Today we talk about the different types of numbers available in Python version 2. There are four types of numbers in Python V2: ints, longs, floats and complex numbers. Things changed in Python version 3, so we made a separate version for Python V3. We show you how to create each type, limits on ints, and how to determine the type of a number.

Today we talk about the different types of numbers available in Python version 2. There are four types of numbers in Python V2: ints, longs, floats and complex numbers. Things changed in Python version 3, so we made a separate version for Python V3. We show you how to create each type, limits on ints, and how to determine the type of a number.

Course Page

Resources

Python T-Shirt
Soft t-shirt keeps you comfortable when you're putting in hours coding.
Buy
Python Cookbook
A well-written book with hundreds of Python recipes covering everything from text & strings to network programming. This book is always on our desk.
Buy