Computer Science, asked by shreya5879, 1 year ago

a python program to input a two digit number and then print reversed number.
if input is 25 then output should be 52​

Answers

Answered by QwertyPs
4

Hëy Frïèñd...

Here is The Solution ...

____________________

Python program..

____________________

a = int(input("Enter any two digit number:"))

• x = a//10

• y = a%10

• s = (y*10) + x

• print ("The swapped Value is :", s)

.

.

.

..

I Hile This Will Help You ^_^^_^


shreya5879: thank u once again
QwertyPs: Its Okk
QwertyPs: ^_^^_^
Similar questions