keep it consistent with solution in 1_4
This commit is contained in:
1 parent
afec76dd94
commit
a6dd2238a2
1 file changed
+1
-1
@@ -12,7 +12,7 @@ def portfolio_cost(filename):
|
|||||||
|
|
||||||
# This catches errors in int() and float() conversions above
|
# This catches errors in int() and float() conversions above
|
||||||
except ValueError as e:
|
except ValueError as e:
|
||||||
print("Couldn't parse:", line)
|
print("Couldn't parse:", repr(line))
|
||||||
print("Reason:", e)
|
print("Reason:", e)
|
||||||
|
|
||||||
return total_cost
|
return total_cost
|
||||||
|
|||||||
Reference in new issue
Block a user