• Cursos
  • Compilador de Código
  • Debatir
  • Precios
  • Teams
Menu

Sesiones de PyR

a)Write a function ‘rev’ which returns the reverse of the given integer. Function isPalin takes an integer as argument and checks whether it is palindrome or not using rev function. Using isPalin write a main function to accept n integers and display number of palindrome numbers found. b)write a program to find the possible permutations of the given word .
java
0 Votos
2 Respuestas
14th Sep 2016, 8:26 PM
ASTHA SINGH
ASTHA SINGH - avatar
in nested 'if' . why dos 'if' statement is execute the first answer, even there is some right answer in below. why is work in first come first serve, if I wanted to get more answer in an 'if' state ment is it possible in python
if-statementspython
0 Votos
2 Respuestas
13th Nov 2016, 7:42 PM
Arun karthick
Arun karthick - avatar
Matt reaches the final round of a treasure hunt. In this, he finds that as he proceeds there are flags with the number written on them at different positions. The difference between two consecutive flags can be either a or b. If he finds the number on the first flag is 0. Given three integer, first one is number of flags present, second is a and third is b. then return all the possible values for last flag for each test case. hunt({3 1 2}) = {2 3 4}
java
0 Votos
2 Respuestas
6th Aug 2016, 6:23 PM
Sumit Tyagi
Sumit Tyagi - avatar
< Anterior1...4849Siguiente >
En tendencia hoy
Audio adding
1 Votes
playground input
0 Votes
Stuck in Quize
2 Votes
What is problem in this code
0 Votes
Software developer
0 Votes
This Program Does Something Weird. Can You Explain Why?
1 Votes
C Program
0 Votes
How I can use div
0 Votes
Asking for final year project ideas!
1 Votes
TIPS From Veterans
1 Votes