0

[{(PYTHON)}] How to create a programme that takes an integer input and returns next nearest prime pallindrome

Pallindrome is a statement which when read from both ends, result in same output. Example 101,131,1000001 Conditions: 1)time taken should me less than 2sec 2)output must be greater than input or equal to it {only if input is itself prime palliindrome} 3)output MUST TO BE PRIME

1st Jun 2020, 9:22 AM
Xander 41
1 Answer