Computer Science, asked by navinrai353, 11 months ago

can someone explain the program and help me to find out a sementic error.
nu=int(input("enter nu"))
def rever(nu):
rev=0
while (nu>0):
rem=nu%10
rev=(rev*10)+rem
nu//=10
print("\nrev is",rev)
if nu==rev:
print(nu,"is palindrome")
else:
print(nu,"is not a palindrome")
rever(nu)​

Answers

Answered by Anonymous
0

Explanation:

can someone explain the program and help me to find out a sementic error.

nu=int(input("enter nu"))

def rever(nu):

rev=0

while (nu>0):

rem=nu%10

rev=(rev*10)+rem

nu//=10

print("\nrev is",rev)

if nu==rev:

print(nu,"is palindrome")

else:

print(nu,"is not a palindrome")

rever(nu)

Answered by anas7113
0

Answer:

symentic errors are those which result from expression involving operators with incorrect no.

for example

n3=n1*n2

MARK IT AS BRAINLIEST HOPE IT HELPS

Similar questions