Update ex_0_intermediate_runfile.py#17
Update ex_0_intermediate_runfile.py#17ASLIOZKUL wants to merge 1 commit intonathanielpolley:mainfrom
Conversation
nathanielpolley
left a comment
There was a problem hiding this comment.
Beginner objectives pending
Intermediate objectives pending
Advanced objectives pending
Total score: pending/3
There was a problem hiding this comment.
Here we have the correct implementation of accepting values from the user and making the final calculation. What I will need further is the code to be able to check and format the correct input. This should test if the string provided by the user is exclusively positive integers, which can be performed with the .isdigit() method. Also, this insures that there are no negative values or decimals. We want to exclusively convert to "int" here, as you cannot have a fraction of a cell. Finally, you must check if the final_count is greater than the initial_count, and this should be after the objects are converted into ints, as this mathematical conditional cannot be done on strings.
Very excellent progress so far. I will both go over this further in class today, as well as review your submission again once the changes have been made.
Score: pending/1
Assignment Intermediate