Answer:
yeududfufjdjkakakkgmgmakaksjxh
Answer:
Follows are the code to the given question:
def steps_to_miles(user_steps):#defining a method steps_to_miles that takes a variable user_steps
return user_steps/2000#use return to calculate the steps
user_steps = int(input())#defining a variable user_steps that holds value from the user-end
print('%0.2f' % steps_to_miles(user_steps))#defining print that calls the steps_to_miles method
Output:
5345
2.67
Explanation:
In this code a method "steps_to_miles" that takes "user_steps" in the parameter inside the method a return keyword is used that calculates the user steps and return its values.
Outside the method, a "user_steps" variable is declared that inputs the value from the user-end pass into the method and prints its value.
Answer:
ALU :An arithmetic logic unit (ALU) is a digital circuit used to perform calculations and logic operations
Registers:register holds the address of memory where CPU wants to read or write data.
CU:The control unit (CU) is a component of a computer's central processing unit (CPU) that directs the operation of the processor.
BIU:BIU takes care of all data and addresses transfers on the buses for the EU like sending addresses, fetching instructions from the memory, reading data from the ports and the memory as well as writing data to the ports and the memory.
Cache:Cache is used to temporarily hold instructions and data that the CPU is likely to reuse.
FPU:A floating-point unit (FPU, colloquially a math coprocessor) is a part of a computer system specially designed to carry out operations on floating-point numbers.
Explanation:
This is all I can say
It is a number that is the answer