December 13, 2016

December 9, 2016

December 7, 2016

Please reload


December 2, 2016


Type is an interesting concept.


In normal life, we don't usually distinguish between numbers for counting (1, 2, 3, 4 ...) and numbers for keeping track of decimal values (3.14159, 1.50, etc).


In computers, however, these are very different animals.


To further complicate the issue, "456" is not the same as 456. That's because of type.


Type is the concept that different values are not entirely compatible and thus serve different purposes to the computer.


The basic types we'll be working with are:


int - integers

float - decimal values

str - strings of text

bool - boolean values of True and False


Next Post: Literals and Variables


Share on Facebook
Share on Twitter
Please reload

Please reload

Recent Posts

© 2019