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, 21.06.2019 22:00
Problems: 1. using textbooks, reference books, and internet as your source of research, draw the following microprocessor microarchitectures i. intel 8086 ii. motorola 68000 i atmel atmega32 iv. mips single cycle v. arm cortex-m3 write an hdl module for a hexadecimal seven-segment display decoder. the input is 4-bit binary representing a hex number (0-f), and the output is 8-bit seven segment display bits (a-h). thus, the decoder must handle the digits 10 - 15 to display a-f respectively, in addition to 0-9 numbers. 2. design a 4-bit left and right rotator (both outputs). first sketch schematic diagrams of your design. then implement your design using hdl coding. 3. 4. design a modified priority encoder that receives an 8-bit input, a7: 0 and produces a 3-bit output, y2o. y indicates the most significant bit of the input that is true. y should be 0 if none of the inputs are true. give a simplified boolean equation, sketch a schematic, and write an hdl code. 5.write an 8: 1 multiplexer module called mux8 with selection inputs s, data input d, and data output y. data input (d) and data output (v) are 32-bit wide
Answers: 3
question
Computers and Technology, 23.06.2019 18:30
Janice recently received her college degree and is looking for a job. she is worried that since she just finished school, she will be required to repay her perkins and direct subsidized loans immediately. janice pulls out the paperwork she signed and reviews it again for repayment information. after reading all of the information, janice discovers that
Answers: 2
question
Computers and Technology, 24.06.2019 01:00
What are two ways to access the options for scaling and page orientation? click the home tab, then click alignment, or click the file tab. click the file tab, then click print, or click the page layout tab. click the page layout tab, or click the review tab. click the review tab, or click the home tab?
Answers: 2
question
Computers and Technology, 24.06.2019 04:30
Write and test a python program to find and print the largest number in a set of real (floating point) numbers. the program should first read a single positive integer number from the user, which will be how many numbers to read and search through. after reading in all of the numbers, the largest of the numbers input (not considering the count input) should be printed.
Answers: 1
You know the right answer?
Masz dany fragment kodu: kilometry = 12.25
mile = 7.38
mile_na_kilometry = # Napisz ko...
Questions
question
Mathematics, 07.07.2019 14:30
question
Mathematics, 07.07.2019 14:30
question
Mathematics, 07.07.2019 14:30
Questions on the website: 13722363