Jonathan Ho Assignment One#11
Open
jonathanhoNumberXIII wants to merge 18 commits intofrc1678:masterfrom
Open
Conversation
I printed it after placing their team number into the input variable
printed them out through the input variable.
DavidCarlip
suggested changes
Sep 20, 2019
ch_1_assign_Jonathan_Ho.py
Outdated
| @@ -0,0 +1,153 @@ | |||
| Robot_Team = input("What Robotics Team do you want to look into?") | |||
There was a problem hiding this comment.
You need to ask for what piece of information from the team the user is looking for as well as which team
Author
There was a problem hiding this comment.
Whoops! I heard from another Citrus Member that all you needed was the team info as a whole, not as an individual. I'll see to it this is fixed
contains all the data for each team
nested dictionary with the input questions inside of it.
search to ensure the team is in the database. They can also see certain team information and modify it to their li and modify it to their liking.
dictionary from assignment one and used functions from assignment two to make it a database with all the dictionaries.
and see all the teams within the team database made with several other teams plopped into it.
two-dimensional and three-dimensional shapes, mainly rectangular prisms and 2D triangles. The user is in a while loop while doing this, and he or she can exit when they type "exit". Unless they don't want to, they can enter their own numbers and allow the code to use the Pythagorean Theorem to calculate the distance between one point and another in the dimensional shape they choose.
error messages while maintaining its primary function. This is an updated version of Chapter 2's assignmet
blank dictionary, with the add function modified so it can move teams and data that the user inputs into the blank database. All other functions have been updated to.
Added additional validations to the add function in case an input wasn't a number. Also made sure that the user typed yes or no in cam_question, or it resulted in them having to try again
Modified the remove function so it actually removes the element specified. The previous code had the remove function remove from a list, so I changed it to remove it from a dictionary
Chapter 4 assignment which now has the additional code that calculates whether the 2D or the 3D point is furthest from the origin, then prints out the farthest point.
Fixed the syntax error. You can now check if the code works or not.
Removed the isalpha() method after figuring that the code can work without it. The use of it actually affects the code in a negative way. Also made the validations for the inputs in the add function.
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.
First Week Homework (First Assignment for Software General). Enjoy!