Question: Write function composite2(N) which takes an integer N as an input and returns the Nthcomposite number which isNOTdivisible by2. For example: TestResultprint(composite2(3)) 21 print (composite2(5))
Write functioncomposite2(N)which takes an integer N as an input and returns the Nthcomposite number which isNOTdivisible by2.
For example:
TestResultprint(composite2(3)) 21 print(composite2(5)) 27 Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
