Professional Documents
Culture Documents
Deep Learning Lab File - R1UC604C
Deep Learning Lab File - R1UC604C
Deep Learning Lab File - R1UC604C
SCHOOL OF COMPUTER
SCIENCE AND ENGINEERING
GALGOTIAS UNIVERSITY,
GREATER NOIDA
UTTAR PRADESH
PROBLEM NO.: 01
PROGRAM:
OUTPUT:
PROBLEM NO.: 02
PROGRAM:
n=int(input("Enter number : "))
temp=
n
rev=0
while(
n>0):
dig=n%10
rev=rev*10+dig n=n//10
if(temp==rev): print("Given
number is palindrome")
else:
print("Given number is not palindrome")
OUTPUT:
PROBLEM NO.: 03
PROGRAM:
OUTPUT:
PROBLEM NO.: 04
PROGRAM:
OUTPUT: