diff --git a/src/problem4.py b/src/problem4.py new file mode 100644 index 0000000..51463bc --- /dev/null +++ b/src/problem4.py @@ -0,0 +1,7 @@ +result = 0 + +for i in range(100, 999): + for j in range(100, 999): + if str(i * j) == str(i * j)[::-1] and i * j > result: result = i * j + +print(result)