n = io.read("*n") print(n) dig1 = (n/10) - ((n%10)/10) dig2 = n%10 n2 = (dig2*10) + dig1 print(n2) if(n == n2) then print("Equal") else print("Not Equal") end
To embed this project on your website, copy the following code and paste it into your website's HTML: