+ 11
[challenge] Today my evaluation lab......SYMMETRICAL INVERSION OF A NUMBER...
if input is even digited... I.e;123456 output;456123 if input is odd digited.... I.e;12345 output:45312
5 Réponses
+ 3
Python answer for the question. Also, the problem statement wasn't clear enough on what odd and even digited numbers meant. The linked code assumes that odd and even digited refers to the odd or even nature of the length of the input, not the input itself.
https://code.sololearn.com/cdg1fhnPlg8X/?ref=app
+ 3
https://code.sololearn.com/cHFGroWyXoXN/#cpp
+ 2
my mathematical trails in c++ as well as ruby....
https://code.sololearn.com/cy0y8R8G4wdQ/?ref=app
https://code.sololearn.com/c3iZU4eXvXBq/?ref=app