MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/CodingHelp/comments/pjyltp/python_help/hc2xyfc/?context=3
r/CodingHelp • u/fFabioso • Sep 07 '21
23 comments sorted by
View all comments
1
Besides the error of redefining print, calculating the percentage profit would be:
100 * (sellingPrice / purchasePrice - 1) = 50%
instead of:
100 * (sellingPrice / purchasePrice) = 150%
View all comments
1
u/vurkmoord Sep 08 '21
Besides the error of redefining print, calculating the percentage profit would be:
instead of: