.. index:: single: Uptade arrival. Jutge P87782 Inici (1): apartat 6 Jutge.org: `P87782 Inici (1): apartat 6. Update arrival `_ ------------------------------------------------------------------------------------------------------ 6. Programa una funció *update_arrival(h, m, d)* que donats dos enters 0 :math:`\le` *h* :math:`<` 24 and 0 :math:`\le` *m* :math:`<` 60 que representen l’hora d’arribada d’un vol i *d* :math:`ge` 0 representant un retard en minuts retorni l’hora d’arribada actualitzada. .. code-block:: python >>> update_arrival(23, 57, 5 + 24*60) (0, 2) | | | :author: Jorge Castro