Python

Problems |interview based





In this section we have different set of problems which will help you for logic building



  

Swap two numbers



  

sum and product of digits are same
1412 = 8



  

those numbers which are only divisible by 1 and themself



  

check that number is even or odd



  

test whether given year is leap or not



  

A neon number is a number where the sum of digits of square of the number is equal to the number. For example if the input number is 9, its square is 9*9 = 81 and sum of the digits is 9. i.e. 9 is a neon number



  

An Armstrong number is a number such that the sum ! of its digits raised to the third power is equal to the number ! itself. For example, 371 is an Armstrong number



  

In mathematics an automorphic number (sometimes referred to as a circular number) is a number whose square "ends" in the same digits as the number itself. For example, 52 = 25, ... so 5, 6, 76 and 890625 are all automorphic numbers



  

check for palindrom(string and integer)



  

find the factorial of the number



  

Strong number is a special number whose sum of factorial of digits is equal to the original number.



  

In number theory, a perfect number is a positive integer that is equal to the sum of its proper positive divisors



  

a series of numbers in which each number ( Fibonacci number ) is the sum of the two preceding numbers. The simplest is the series 1, 1, 2, 3, 5, 8, etc.



  

program to find out largest number out of the list






other avilable courses

codenody