From e6a7399134b3dc08f9e6e9c9c74e39ac449b8538 Mon Sep 17 00:00:00 2001 From: mjfernez Date: Mon, 3 Feb 2020 19:49:58 -0500 Subject: Fix dumb mistakes --- palindrome.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'palindrome.py') 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)): -- cgit v1.2.3