diff options
author | mjfernez <mjfernez@gmail.com> | 2020-02-03 19:49:58 -0500 |
---|---|---|
committer | mjfernez <mjfernez@gmail.com> | 2020-02-03 19:49:58 -0500 |
commit | e6a7399134b3dc08f9e6e9c9c74e39ac449b8538 (patch) | |
tree | 2cd7b6ba1a10562d219028aa84aedfc49d872761 /palindrome.py | |
parent | d62ba829dc3a54edc46b7deb581dd244713393f5 (diff) | |
download | Project_Euler_Solutions-e6a7399134b3dc08f9e6e9c9c74e39ac449b8538.tar.gz |
Fix dumb mistakes
Diffstat (limited to 'palindrome.py')
-rw-r--r-- | palindrome.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/palindrome.py b/palindrome.py index c581a72..9690553 100644 --- a/palindrome.py +++ b/palindrome.py @@ -1,5 +1,4 @@ import PIL, math -import numpy as np #Problem 4 - Palindrome Products @@ -29,8 +28,8 @@ def findMaxPalindrome(): return large answer = findMaxPalindrome() -print answer -print "The factors are: " + str(findProduct(answer)) +print(answer) +print("The factors are: " + str(findProduct(answer))) #x = input("Type a palindromic number: ") #if(isPalindrome(x)): |