Post has attachment

Post has attachment

Python Data Types
https://en.wikibooks.org/wiki/Python_Programming/Data_Types

Python Data Type Conversions
http://thepythonguru.com/datatype-conversion/

One example of a conversion technique in Python is the string to integer conversion. It converts the number in the string text to an integer value.

Post has attachment

Post has attachment

Post has attachment
In the video bellow you will be able to learn what will happen with numbers, Strings , double , decimals , etc under a certain converted datatype .
Example:
Double = 11.59 (64 bit )
Int = 11
Float = 11.59 (32 bit)
Str = "11.59"
https://www.youtube.com/watch?v=bkN0HAPR0O0

Post has attachment
https://docs.python.org/3/library/datatypes.html

I like these links because it is official documentation from the programmers behind the language

http://www.informit.com/articles/article.aspx?p=459269&seqNum=7

I like this website because it is very clear regarding how data type conversions are very clear. I learned how data type conversions work by calling specific functions and manually entering the number. An example is hexadecimal conversion something we learned manually can just be converted (in python) for example hex(16) converts the 16 into hex returning the hex value 10

Tutorial : http://www.pythonforbeginners.com/code-snippets-source-code/game-rolling-the-dice/

Post has attachment
This Link explains both Python Data types AND it explains Python Data Type Conversions.

https://www.programiz.com/python-programming/variables-datatypes

Post has attachment

Python Data Types:
https://www.youtube.com/watch?v=roLWSek4HY4
Python Data Type Conversions:
https://www.youtube.com/watch?v=XDpY9aFOZ3M
To convert from a float to a int you can use the int(number) function which takes a number as a parameter and put the float as the parameter and have it converted to a integer.
Wait while more posts are being loaded