Question: How to solve the problem in python? Write a loop that goes from 1 to 40. Inside the loop take each number that you get
How to solve the problem in python?
Write a loop that goes from 1 to 40. Inside the loop take each number that you get and convert it into a fraction where the number is the denominator under 1. Print out the resulting values. 1/1 = 1 1/2 = 0.5 1/3 = 0.3333333 And so on
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
