`

>>>backwards('real') 

laer
besides I want to print it in uppercase
LAER

`

A well known snippet

>>> 'real'[::-1]
'laer'
>>> 
x = "real"
y = ""
for i in range(len(x)-1, 0, -1):
    y.append(x[i])
y = y.upper()