In Python Remove any number in the list divisible_by_3 that is not divisible by 3. Your solution
Fantastic news! We've Found the answer you've been seeking!
Question:
In Python
Remove any number in the list divisible_by_3 that is not divisible by 3. Your solution should work for any number of elements in the list. Hint: at the end of your code, divisible_by_3 should refer to your shortened list, containing only the numbers divisible by 3. It does not need to refer to the same list you were originally given.
Related Book For
Discrete and Combinatorial Mathematics An Applied Introduction
ISBN: 978-0201726343
5th edition
Authors: Ralph P. Grimaldi
Posted Date: