Ask Question
20 May, 01:17

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

+2
Answers (1)
  1. 20 May, 04:26
    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?
Get 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 & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers