this post was submitted on 14 Apr 2021
1 points (100.0% liked)
Python
3275 readers
1 users here now
News and discussions about the programming language Python
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
The first thing you need to know about programming: stackoverflow.com. Any question you will ever have, somebody has already posted the answer there.
Once you are using python 3, you'll find there are two types of division
Often you do want integer division, so use the // operator.
I really appreciate that explaining, thank you. I've already heard about StackOverflow but never searched through it very much, from now i'm going to take a look over it as probably will help me a lot.
For example!
and here