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 95 views
95 views asked Mar 1, 2022 by avibootz
1 answer 92 views
92 views asked Mar 1, 2022 by avibootz
1 answer 154 views
1 answer 107 views
107 views asked Mar 1, 2022 by avibootz
1 answer 110 views
1 answer 103 views
103 views asked Mar 1, 2022 by avibootz
...