Computers and Technology

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

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 14:50, williamsgregg5214
Drag each label to the correct location on the image list the do’s and don’ts of safeguarding your password. a. keep yourself logged in when you leave your computer. b. don’t write your password down and leave it where others can find it. c. share your password with your friends. d.each time you visit a website, retain the cookies on your computer. e. use a long password with mixed characters.1. do's 2. don'ts
Answers: 2
image
Computers and Technology, 22.06.2019 18:00, alyssacyamamoto8050
Budgets you to do all of the following expect a) send frivolously b) avoid over spending c) gain financial independence d) examine your priorities and goals
Answers: 2
image
Computers and Technology, 23.06.2019 15:30, yanicas
Hey so i was just trying out some game hacks so i took a paste from online and built it in my visual studio and then suddenly my computer was working or clicking on stuff on its own am i hacked?
Answers: 1
image
Computers and Technology, 24.06.2019 00:30, Auttyrain3929
Afiling system in which an intermediary source of reference, such as a file card, must be consulted to locate specific files is called a(n) system. a. shelf filing b. direct filing c. indirect filing d. shingling
Answers: 1
Do you know the correct answer?
Masz dany fragment kodu: kilometry = 12.25
mile = 7.38
mile_na_kilometry = # Napisz ko...

Questions in other subjects: