updating homework#10
Merged
ObjectiveJoe merged 24 commits intoUWPCE-PythonCert-ClassRepos:masterfrom May 9, 2019
Merged
Conversation
majstorpoki
approved these changes
May 1, 2019
| self.output_dict = {} | ||
|
|
||
| def return_as_dictionary(self): | ||
| """"can I get rid of the replicated ones from the original class?""" |
|
|
||
|
|
||
| def main_menu(user_prompt=None): | ||
| """"This method is the menu for the program. The intent is to |
|
|
||
|
|
||
| class InventoryTest(unittest.TestCase): | ||
| """Tests for inventory_class |
| class FurnitureTest(unittest.TestCase): | ||
| """Tests for furniture_class | ||
| 1. can take 6 input items and create a dictionary""" | ||
| pass |
| # # Date: 4/17/2019 | ||
| # # ChangeLog: (Who, What) | ||
| # Justin Jameson | ||
| # correct ouput to output line 20 'ouptu JSON file' |
| logging.debug('made it through value total_days') | ||
| value['total_price'] = value['total_days'] * value['price_per_day'] | ||
| logging.debug('made it through total_price') | ||
| # value['sqrt_total_price'] = math.sqrt(value['total_price']) |
There was a problem hiding this comment.
Think how you could log particular errors that could happen (e.g., missing field, end date smaller than beginning date...) and what would be severity of these log messages.
ObjectiveJoe
approved these changes
May 9, 2019
KevCav91
added a commit
to KevCav91/Python220A_2019
that referenced
this pull request
Jun 11, 2019
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
updated homework