leeknight1966 leeknight1966
  • 17-05-2021
  • Computers and Technology
contestada

write a program that takes as input a number of kilometers and prints the corresponding number of nautical miles.

Respuesta :

phenom786
phenom786 phenom786
  • 17-05-2021

Answer:

try this

Explanation:

km = float(input('Kilometers: '))

nm = (km * 5400) / 10000

print('%0.4f km = %0.4f Nautical Miles' %(km,nm))

Answer Link

Otras preguntas

Who is called "the father of history?" A. Thucydides B. Hercules C. Herodotus D. Artemis
Cara and Chuck were looking at pond water through a microscope. They saw this image. Cara wondered what it was. Chuck said it had to be a living thing because
When you divide a whole number by a decimal that is less than 1, the quotient is greater that the whole number. Why?
I want to write a story this holiday, a sad one and touching one but i don't know how to start the story. Any suggestions?
the system of equations y=-3x+5 and y=3x-7 has
what is -7/2n=49 how would you find the answer to this fraction
Which simple sentence has a compound subject? A. They will bring the camper with three beds. B. My aunts, uncles, and cousins are traveling on vacation wi
The table below represents the displacement of a turtle from its nest as a function of time: Time (hours) x Displacement from nest (miles)
In "The Cremation of Sam McGee," why does the speaker feel he must cremate Sam McGee? A. Cremation will keep the wolves from attacking Sam's body. B. The ground
In "The Cremation of Sam McGee," why does the speaker feel he must cremate Sam McGee? A. Cremation will keep the wolves from attacking Sam's body. B. The ground