Enter the code below into python and save it as “speed.py”.
Make the following additions –
– Add a second input asking for time.
– Divide distance by time and store it into a variable called speed.
– display the answer with the units “m/s” after it.
distance = int(input("Enter the distance in meters - "))
You need to log in or create an account to submit code!