Improved Code and removed Warnings (#483)

This commit is contained in:
Parth Shandilya
2018-10-19 14:00:31 +05:30
committed by GitHub
parent 07451a6ca4
commit 5d1f72604d
36 changed files with 67 additions and 67 deletions

View File

@@ -4,7 +4,7 @@ A palindromic number reads the same both ways. The largest palindrome made from
Find the largest palindrome made from the product of two 3-digit numbers which is less than N.
'''
from __future__ import print_function
limit = int(input("limit? "))
limit = int(raw_input("limit? "))
# fetchs the next number
for number in range(limit-1,10000,-1):

View File

@@ -12,7 +12,7 @@ for i in range(999,100,-1):
arr.append(i*j)
arr.sort()
n=int(input())
n=int(raw_input())
for i in arr[::-1]:
if(i<n):
print(i)