Commit 6b1db6faafacd03f62faa8b857920aa6d2b50c5f

Authored by Imanol-Mikel Barba Sabariego
1 parent c612d588

Corrected bug in 9

Showing 1 changed file with 1 additions and 1 deletions
@@ -21,4 +21,4 @@ def getTriplet(threshold): @@ -21,4 +21,4 @@ def getTriplet(threshold):
21 21
22 resultArray = getTriplet(int(sys.argv[1])); 22 resultArray = getTriplet(int(sys.argv[1]));
23 print "Result is: a=" + str(resultArray[0]) + " b=" + str(resultArray[1]) + " c=" + str(resultArray[2]); 23 print "Result is: a=" + str(resultArray[0]) + " b=" + str(resultArray[1]) + " c=" + str(resultArray[2]);
24 -print "Product is " str(int(resultArray[0]) * int(resultArray[1]) * int(resultArray[2]));  
25 \ No newline at end of file 24 \ No newline at end of file
  25 +print "Product is " + str(int(resultArray[0]) * int(resultArray[1]) * int(resultArray[2]));