subject

Masz dany fragment kodu: kilometry = 12.25
mile = 7.38
mile_na_kilometry = # Napisz kod tutaj.
kilometry_na_mile = # Napisz kod tutaj.
print(mile, "mi to", round(mile_na_kilometry, 2), "km")
print(kilometry, "km to", round(kilometry_na_mile, 2), "mi")
Mile i kilometry to jednostki długości.
Zakładając, że 1 mila jest równa w przybliżeniu 1.61 kilometra, uzupełnij program tak, aby konwertował:
mile na kilometry,
kilometery na mile.
Nie zmieniaj niczego w istniejącym kodzie. Wpisz swój kod w miejscach wskazanych przez
# Napisz kod tutaj..
Oczekiwany wynik:
7.38 mi to 11.88 km
12.25 km to 7.61 mi
język programowania: Python

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 09:30
Why is an outfitting a workspace with video games in a technology development company considered a strategic use of money
Answers: 1
question
Computers and Technology, 23.06.2019 13:30
Select the correct answer from each drop-down menu. which types of computer networks are bigger as well as smaller than a man? a man is a network of computers that covers an area bigger than a , but smaller than a .
Answers: 1
question
Computers and Technology, 23.06.2019 17:00
*! 20 points! *jeff wants to create a website with interactive and dynamic content. which programming language will he use? a. dhtml b. html c. css d. javascript
Answers: 1
question
Computers and Technology, 23.06.2019 18:30
Write a program that prints the day number of the year, given the date in the form month-day-year. for example, if the input is 1-1-2006, the day number is 1; if the input is 12-25-2006, the day number is 359. the program should check for a leap year. a year is a leap year if it is divisible by 4, but not divisible by 100. for example, 1992 and 2008 are divisible by 4, but not by 100. a year that is divisible by 100 is a leap year if it is also divisible by 400. for example, 1600 and 2000 are divisible by 400. however, 1800 is not a leap year because 1800 is not divisible by 400.
Answers: 3
You know the right answer?
Masz dany fragment kodu: kilometry = 12.25
mile = 7.38
mile_na_kilometry = # Napisz ko...
Questions
question
Mathematics, 17.09.2020 15:01
question
Mathematics, 17.09.2020 15:01
question
Mathematics, 17.09.2020 15:01
question
Mathematics, 17.09.2020 15:01
question
Mathematics, 17.09.2020 15:01
question
Mathematics, 17.09.2020 15:01
question
History, 17.09.2020 15:01
question
English, 17.09.2020 15:01
question
Mathematics, 17.09.2020 15:01
question
Spanish, 17.09.2020 15:01
question
Mathematics, 17.09.2020 15:01
question
Mathematics, 17.09.2020 15:01
question
Mathematics, 17.09.2020 15:01
question
Mathematics, 17.09.2020 15:01
question
Mathematics, 17.09.2020 15:01
question
Mathematics, 17.09.2020 15:01
question
Mathematics, 17.09.2020 15:01
question
Mathematics, 17.09.2020 15:01
question
Mathematics, 17.09.2020 15:01
question
Mathematics, 17.09.2020 15:01
Questions on the website: 13722367