# your code goes herenum = 3 dezena = num // 10unidade = num % 10print(unidade * 10 + dezena)
Standard input is empty
30
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!