How to convert days to minutes using Python

1 Answer

0 votes
def daysToMinutes(days):
  return days * 24 * 60


print(daysToMinutes(1))
print(daysToMinutes(2))
print(daysToMinutes(4))


  
  
  
  
'''
run:
  
1440
2880
5760
  
'''

 



answered Mar 1, 2022 by avibootz

Related questions

1 answer 187 views
187 views asked Mar 1, 2022 by avibootz
1 answer 183 views
183 views asked Mar 1, 2022 by avibootz
1 answer 250 views
1 answer 203 views
203 views asked Mar 1, 2022 by avibootz
1 answer 196 views
1 answer 185 views
185 views asked Mar 1, 2022 by avibootz
...