![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj3y0RhJlCa7AoR87YXeYMF59V2Z_UbutxbHg6kcPDHEFg6QwVESPaOphRPtkZNLw6IhZC2PN74bF1ZtHR9NfC2XHdn6SidOmfZmWtkEn_tSmDTrEUGS3EAMxehyVrhvOgOTjy9/s400/python-logo-master-v3-tm-flattened.png)
some examples, lets first define some variables. We will create a variable A which will have the value 1 and we will create a variable B which will hold the value 2. When the are created we will divide A by B which by all common sense will give you 0.5 however as you can see in the example below it will give you 0 as the result instead of 0.5
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhBV5aXwm-0FqYCJKPIRWtZ2U9oHcLBg530yECApRhEqFuFzOuYRx1VrV6rwXrnnCTNw3kpqqVdfPD4hIkj_SHwO2BO9ywmZezF7P2Oc8q6Ydp4BOyzqkv7ZDTw8rjy6wpjfiUc/s400/0-python-number-fun.png)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqzOYFfN0db7VKvmaLEV_zLJk5T5h78Arf8f30en39os-A0vCx9hAlLY_8zyzYJGb3RL_5tjS8IY_-bs9VSa2yGYQM8XmYr5gUDeQ39U6lnze_pomx2Ob4un9LezSo16mkVq1m/s400/1-python-number-fun.png)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkstnO2IIPA3rIKJT9iNkUABMbS2EEVRVcBbZARvNkmwfEGdrC5Y_Nz63uYcW0JCe1XMy7KZaSnfHSAwSmvcCVADsyAC_BjJeiIQGg8j-55AT6Y17MnUOqVbiEh6z7ysVenLEj/s400/2-python-number-fun.png)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgUko5lIhQiK18oJmyAb61PcN2R0IFXVBT3n7i6Va6Zq8xWoQrm8pGfve9f-sxKaJSvWI7PV0CAH1fanecp8RzBx0Mtxjmy_OsXLii14dR6zsj-GiNyGdAC7Fr5Jfw01qzPABbU/s400/3-python-number-fun.png)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSrAO2E8_NMaE1WtIz3LTbbkQScgD0IcBVobwHZrShyphenhyphendWw6lEOoMjHJCWlUWI6hbHI3pfK5_td24ZeAajWkyRIoDjTMmkgpoDnzj_nFRJr8h1xffKQe2YOeVyK9Ml-J1iwrp0V/s400/4-python-number-fun.png)
2 comments:
Thank you! I actually learned alot from this!
Thank you, I actually understood something here!
Post a Comment