Question: Write a function called digdug that takes a single argument number (assume it will always be a positive integer). For every integer from 1 up

Write a function called digdug that takes a single argument number (assume it will always be a positive integer). For every integer from 1 up to and including number, the function will print a message if warranted. If the integer is evenly divisible by 3 the function will print "dig". If the integer is evenly divisible by 5 it prints "dug". If the integer is evenly divisible by both 3 and 5 it prints "digdug". If the integer is not divisible by either 3 or 5 it does not print anything
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
