 Calculating Delayed Arrival Time in a 24-Hour Clock | Beats 100% 
IntuitionThe problem requires calculating the new arrival time by adding a delay to the given arrivalTime, ensuring the result follows a 24-hour format. If the
# Intuition
The problem requires calculating the new arrival time by adding a delay to the given arrivalTime, ensuring the result follows a 24-hour format. If the sum exceeds 24, it should wrap around (e.g., 23 + 2 = 1).

# Approach
1. Compute the sum of arrivalTime and delayedTime.
2. If the sum equals 24, return 0 (since 24 is equivalent to 0 in a 24-hour clock).
3. If the sum is greater than 24, compute the correct time by subtracting 24 from the sum.
4. Otherwise, return the computed sum.

# Complexity
- Time complexity: O(1)
<!-- Add your time complexity here, e.g. $$O(n)$$ -->
            
- Space complexity: O(1)
<!-- Add your space complexity here, e.g. $$O(n)$$ -->

# Code
```python3 []
class Solution:
    def findDelayedArrivalTime(self, arrivalTime: int, delayedTime: int) -> int:
        end=arrivalTime+delayedTime
        i=0
        if end==24:
            return 0
        
        if end>24:
            for _ in range(24,end):
                i+=1
            return i
        
        else:
            return end
        

            

```
['Python3']