def palin():
    x = int(input())
    x = str(x)
    if x == x[::-1] :
        return 1
    else :
        return 0
if palin():
    print('yes,number is a pallindrome')
else :
    print('no,number is not a pallindrome')
    
500
no,number is not a pallindrome
import pywikibot
site = pywikibot.Site('en','mediawiki')
page = pywikibot.Page(site, 'MediaWiki')
page.text
'{{Main page}}\n<!-- To edit what appears on this page, please see Project:Main page templates (https://www.mediawiki.org/wiki/Project:Main_page_templates) -->'