1344. Angle Between Hands of a Clock
https://leetcode.com/problems/angle-between-hands-of-a-clock/

Input: hour = 12, minutes = 30
Output: 165

Last updated
https://leetcode.com/problems/angle-between-hands-of-a-clock/

Input: hour = 12, minutes = 30
Output: 165

Last updated
Input: hour = 3, minutes = 30
Output: 75Input: hour = 3, minutes = 15
Output: 7.5Input: hour = 4, minutes = 50
Output: 155Input: hour = 12, minutes = 0
Output: 0class Solution:
def angleClock(self, hour: int, minutes: int) -> float:
abd = abs(hour * 30 + minutes / 60 * 30 - minutes * 6)
return min(360 - abd, abd)