+ 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

18th Oct 2017, 2:52 PM
SAKSHI
SAKSHI - avatar
5 Answers
+ 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
18th Oct 2017, 4:30 PM
Aryaman Srivastav
Aryaman Srivastav - avatar
+ 3
https://code.sololearn.com/cHFGroWyXoXN/#cpp
27th Oct 2017, 3:10 PM
Saransh Bhatia
Saransh Bhatia - avatar
18th Oct 2017, 4:27 PM
Prajwal Gowda
Prajwal Gowda - avatar
28th Oct 2017, 6:50 AM
SAKSHI
SAKSHI - avatar
19th Oct 2017, 8:29 AM
⾢ⴡ⾢ⴡ
⾢ⴡ⾢ⴡ - avatar