Search
 
SCRIPT & CODE EXAMPLE
 

TYPESCRIPT

palindromic no.

num = int(input("Enter a positive integer: "))
temp = num
rev_no=0
while temp>0:
    digit = temp%10
    rev_no= digit + rev_no*10
    temp= int(temp/10)
if num==rev_no:
    print(num,"is a palindrome")
else:
    print(num,"is not a palindrome")
Comment

PREVIOUS NEXT
Code Example
Typescript :: the benefits of deploying a network using a WLC 
Typescript :: python double check if wants to execute funtion 
Typescript :: requierd one of two attribute in obj js ts 
Typescript :: Using TypeScript generic with `...rest` operator 
Typescript :: the derived ungapped alignments are calleed 
Typescript :: check if package exists inside the device adb 
Typescript :: scss all elements inside 
Typescript :: typescript array of mixed type 
Typescript :: url prod 
Typescript :: ruby all elements in array are equal 
Typescript :: ionic 3 angular replacements or alternatives 
Typescript :: get ols regression results with for loop for dataframe against a constant 
Typescript :: They Take Their Medication Then The Device Owner Lets Them Press The Button | The Problem We Are Solving Is Kids Not Taking Their Medication Which Turns To Great Health Benefits In The Young Generation 
Typescript :: how do you check ewhich version of typescript you are using 
Typescript :: how to pass data between requests in api 
Typescript :: what do brackets mean in python 
Typescript :: alternative for .include in typescript 
Typescript :: count custom posts type basis of author 
Typescript :: install material ui typescript 
Typescript :: sprockets cannot load such file sass 
Typescript :: elements of programming interviews in python 
Typescript :: Where is the requirement engineering heading? 
Typescript :: python Implement the function is_even(number) which gets an integer as input parameter and checks, if this input is even or not 
Typescript :: How to disabele and enable the button when it valid 
Typescript :: get Nested Iteration index Count in Angular 13 
Typescript :: adding objects to existing legend 
Typescript :: powershell check if the sql server ports are dynamic 
Typescript :: nextjs and nodemailer problem after deploy 
Typescript :: how should a developer write unit tests for a private method in an apex class 
Typescript :: how to make game objects spread in a specific vector 
ADD CONTENT
Topic
Content
Source link
Name
9+6 =