meg4ri9dgeekyhele
meg4ri9dgeekyhele meg4ri9dgeekyhele
  • 29-09-2016
  • Computers and Technology
contestada

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

Respuesta :

Wrighty
Wrighty Wrighty
  • 29-09-2016
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)
Answer Link

Otras preguntas

Who plays the role of the victim at the Paris Peace Conference? A. David Lloyd George B. Woodrow Wilson C. George Clemenceau D. Vitorio Orlando
Evaluate the algebraic expression h + h when b = 3, d = 12, h = 2 and r = 7. A. 12 B. 8 C. 4 D. 0
95(53+47)= A. 9,005 B. 9,400 C. 9,500 D. 90,500
At the monthly meeting of the Chamber of Commerce, a representative from a local tour bus company makes a presentation about the economic advantages of using he
Identify reproductive organs.
7pie/2 converted to degrees
Describe at least two advantages and two disadvantages of using wind as a source of energy.
Helppppppp meeeeeee I don’t understanddddd
what is deceleration?????Have a nice day​
The sides of a quadrilateral ABCD move at a point speed of 2 centimeters per second. How long will it take to get around the whole quadrilateral, if the area of