added old solutions
This commit is contained in:
parent
3a4827b082
commit
a373abfdf1
14 changed files with 153 additions and 0 deletions
9
py/4.py
Normal file
9
py/4.py
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
def palindromic(x):
|
||||
return str(x) == str(x)[::-1]
|
||||
|
||||
maxi = 0
|
||||
for i in range(1,999):
|
||||
for j in range(1,999):
|
||||
if(palindromic(i*j)): maxi = max(maxi,(i*j))
|
||||
|
||||
print(maxi)
|
||||
Loading…
Add table
Add a link
Reference in a new issue