Ask Question
19 December, 13:03

Using a for loop, write a program that prints out the decimal equivalents of 1/2, 1/3, 1/4, ..., 1/10.

+3
Answers (1)
  1. 19 December, 13:47
    0
    In python:

    ##Specifies the range that the variable 'number' should change within

    for number in range (2,10):

    ##Prints the decimal equivalent of each fraction

    print (1 / number)
Know the Answer?
Not Sure About the Answer?
Find an answer to your question ✅ “Using a for loop, write a program that prints out the decimal equivalents of 1/2, 1/3, 1/4, ..., 1/10. ...” in 📘 Computers and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers