Conversation
|
Very good, Helene. You have both GitHub and PyCharm set up correctly. Let me know if you have any further questions about this process. Score: 0.5/0.5 |
nathanielpolley
left a comment
There was a problem hiding this comment.
Complete: assignment 0 beginner
Pending: assignment 0 intermediate
There was a problem hiding this comment.
For this, you have all of the calculations correct. However, you need to make sure that it handles all incorrect user input correctly. For instance, if the user enters "abc", then that cannot be converted to a float, so an error will be thrown. You also cannot take logs of negative numbers, and you can only have whole number integers for numbers of cells. This will be your outer if/else statement that will use isdigit( ) in order to evaluate if the user has input a numeric positive integer value. Also, since this is a "growth" calculator, the final value must always be larger than the initial value, so this will be an internal if/else statement that (after converting to a numerical value) will evaluate if the final is greater than initial. Keep up the good work, and I will revisit this for a final mark once you have implemented the correct conditionals.
No description provided.