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

According to Marx, in what way was capitalism a necessary evil?
Which statement might have been made by a Federalist? A. Our biggest concern about the new government is corruption. B. We cannot ratify the Constitution withou
1)Substance A melts at 2300 °c, and it doesn’t conduct electricity even when molten and doesn't dissolve in water. What is the structure and bonding of this?
Calcula el valor de la expresion m + (m – 3), si m = –5
A sample of carbon dioxide gas occupies a volume of 250 mL at 25c what volume will it occupy at 95c
Which idea was popularized in the United States by William Blackstone? A. The U.S. government should be divided into three equal branches. OB. The United States
Solvex - 5+ 7 = 15. A. x = 13 and x = -3 -13 and x = 3 C. x = -13 and x = -3 OD. x = 13 and x = -13 OB. x =
The photo shows the Matterhorn in the Swiss Alps. What carved the sharp features of this mountain? OA. Thermal expansion OB. Iron oxide C. Glacial ice OD Plant
Which adjective is used to describe a lot of heavy-duty competition? A) temperate B) mild C) fierce D) well-mannered
Circle the correct answers. Which economic system is found in simple agricultural societies? A. traditional B. command C. market