Sobes.tech
Junior — Senior

Reverse order of the digits of a number

livecode

Task condition

Given an integer, for example 123. It is necessary to obtain a number with the digits reversed (in the example, 321). You can use any convenient methods of transformation, including working with the string representation of the number.