Just a reminder that this whole exercise about Divisibility is to get used to thinking about the
Fantastic news! We've Found the answer you've been seeking!
Question:
- Just a reminder that this whole exercise about Divisibility is to get used to thinking about the sorts of decisions that go into designing an algorithm -- what might be tested to be true or false, under what circumstances an operation might be repeated, and what sequence of decisions would be best or simplest. And at the end of that series, you came up with a way to decide whether some large number was a multiple of 45 if you did not have a computer or calculator available. But if we were to write a program in the Python language, that would not be the best and simplest way to solve the problem.
- 1) What would be the simplest way to have a Python program decide if a number was divisible by 45?
- 2) Why would we not use that same approach without a computer or calculator?
Related Book For
Fundamentals of Case Management Practice Skills for the Human Services
ISBN: 978-1305094765
5th edition
Authors: Nancy Summers
Posted Date: