I got this assignment and I'm stuck. I have to write a function that takes an integer value and returns the number with its digits reversed. For example, given the number 7631, the function should return 1367. Can someone help?

:confused:

## Dave Sinkula 2,398

## Ancient Dragon 5,243

## SirJames 10

## TkTkorrovi 69

## WaltP 2,905

## TkTkorrovi 69

## TkTkorrovi 69

## TkTkorrovi 69

## c0ld sn1ff3r -4

## nadim2010 -1

jonsca
commented:
Don't bump old threads -1