added solutions 4 and 5
This commit is contained in:
9
problem4.py
Normal file
9
problem4.py
Normal file
@ -0,0 +1,9 @@
|
||||
highest_value = 0
|
||||
|
||||
for i in range(100,1000):
|
||||
for j in range(100,1000):
|
||||
if str(i*j) == str(i*j)[::-1]:
|
||||
if i*j > highest_value:
|
||||
highest_value = i*j
|
||||
|
||||
print(highest_value)
|
Reference in New Issue
Block a user