Write a Python program that uses a loop to calculate the total of a series of fractions as below. Inside the loop should be the two statements to (a) divide the numerator by the denominator and (b) add the result to a total. Display the total after the loop. Notice that the numerator increases by 1 after each iteration and the denominator decreases by 1. The lower and upper values in both cases are 1 and 30.
+5
Answers (1)
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “Write a Python program that uses a loop to calculate the total of a series of fractions as below. Inside the loop should be the two ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Home » Computers & Technology » Write a Python program that uses a loop to calculate the total of a series of fractions as below. Inside the loop should be the two statements to (a) divide the numerator by the denominator and (b) add the result to a total.