When I define a function of reverse. It not only reverses the digits but it prints it thrice. How can I get only one reversed answered? : '''
def reverse_int():
    num=(input("Enter a 3-digit number: "))
    for number in num:
        print (num[::-1])
reverse_int()
'''
