Round any given number to the closest 0.5 step
I.E.
```
solution(4.2) = 4
solution(4.3) = 4.5
solution(4.6) = 4.5
solution(4.8) = 5
```
Round **up** if number is as close to previous and next 0.5 steps.
```
solution(4.75) == 5
```
def solution(n):
    fint = int(n)
    diff = n - fint
    if diff < 0.25:
        rdiff = 0
    if diff >= 0.25 and diff < 0.75:
        rdiff = 0.5
    if diff >= 0.75:
        rdiff = 1
    rounded = rdiff + fint
    return rounded

def solution(n):
    fint = int(n)
    diff = n - fint
    if diff < 0.25:
        rdiff = 0
    if diff >= 0.25 and diff < 0.75:
        rdiff = 0.5
    if diff >= 0.75:
        rdiff = 1
    rounded = rdiff + fint
    return rounded
