menu
QAmmunity.org
Login
Register
My account
Edit my Profile
Private messages
My favorites
Register
Ask a Question
Questions
Unanswered
Tags
Categories
Ask a Question
How do i find the remainder of a number using python?
asked
Apr 5, 2019
13.2k
views
0
votes
How do i find the remainder of a number using python?
Computers and Technology
high-school
Oldman
asked
by
Oldman
5.3k
points
answer
comment
share this
share
0 Comments
Please
log in
or
register
to add a comment.
Please
log in
or
register
to answer this question.
1
Answer
2
votes
To find the remainder of a division, use the modulo operator. In python this is the '%' operator. For example:
6 divided by 3 = 2 with zero remainder (ie 6=(2*3)+0)
6%3=0
7 divided by 3 = 2 with one reminder (ie 7=(6*2)+1)
7%3=1
DumbPy
answered
Apr 8, 2019
by
DumbPy
6.2k
points
ask related question
comment
share this
0 Comments
Please
log in
or
register
to add a comment.
Ask a Question
Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.
5.9m
questions
7.7m
answers
Other Questions
a. STOP: What is a technology habit you practice today that you now realize will not help you to be successful? Explain why it’s important to STOP doing this right now.
Why might the government censor what its citizens see on the internet?
Flash drives cds external disks are all examples of storage (memory) devices
What is a spreadsheet program? A spreadsheet program is a computerized version of _________
The negotiators past relationship will affect current behavior if the parties
Twitter
WhatsApp
Facebook
Reddit
LinkedIn
Email
Link Copied!
Copy
Search QAmmunity.org