Monthly Archives For October 2017

Palindrome

, , No Comment

#!/usr/bin/python3 number = input(‘Enter number ‘) step = 0 sum = 0 fwd = int(number) rev = int(number[::-1]) if fwd == rev: print (‘poly’) sum = number else: while fwd != rev: sum = fwd&hellip

Read Post →