Question: In python code [20 pts] Write the function largeFactor(num) which takes in an integer num that is greater than 1. The function returns the largest
In python code
[20 pts] Write the function largeFactor(num) which takes in an integer num that is greater than 1. The function returns the largest integer that is smaller than num and evenly divides num. Example: largeFactor(15) will return 5 since the factors of 15 are 1, 3 and 5 largeFactor(7) will return 1 since 7 is prime
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
