added old solutions

This commit is contained in:
Aéna Aria 2025-12-22 13:15:04 +01:00
parent 3a4827b082
commit a373abfdf1
14 changed files with 153 additions and 0 deletions

9
py/4.py Normal file
View 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)