WSQ11 – Yo soy 196

In this WSQ we need to create a program that asks the user for two pieces of data:

  • The lower bound of the sequence
  • The upper bound of the sequence
Then it check the values from the lower bound (inclusive) to the upper bound (inclusive) and make a report of them. During the analysis of each number, if a Lychrel number is found it should be reported immediately with something like “Found a Lychrel number: 196”
Here is a link to the code in Github.
Python/WSQ-11(Palindromes)
This one is the most difficult of the WSQ and i had a lot of problems iterating them and comparing them.

CC BY-SA 4.0 WSQ11 – Yo soy 196 by a01631918 is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.