keep it consistent with solution in 1_4

This commit is contained in:
Peili Liang 2023-09-08 09:24:52 +08:00 committed by GitHub
parent afec76dd94
commit a6dd2238a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,7 +12,7 @@ def portfolio_cost(filename):
# This catches errors in int() and float() conversions above
except ValueError as e:
print("Couldn't parse:", line)
print("Couldn't parse:", repr(line))
print("Reason:", e)
return total_cost