The distance from New York to Belem, Brazil, is 5280 km.
a) How long does it take you to travel this distance by airliner, at 900 km/h?
b) How long does it take you by ship, at 35 km/h?
Distance $s = 5280$ km
Speed $v = 900$ km/h
Time $t = \frac{s}{t}$
from datetime import timedelta
from datetime import datetime
dts = datetime(2000,1,1,0,0,0,0)
Distance = 5280 # in km
Speed = 900 # in km/h
Time = Distance / Speed
tm = timedelta(hours=Time)
dt = dts + tm
print(f'The time to fly is {Time:.3f} h. or ' + dt.strftime('%Hh %Mm %Ss'))
Speed = 35 # in km/h
Time = Distance / Speed
tm = timedelta(hours=Time)
dt = dts + tm
print(f'The time by boat is {Time:.3f} h. or ' + dt.strftime('%d days %Hh %Mm %Ss'))