-
Notifications
You must be signed in to change notification settings - Fork 3
Solution/m3 final project #35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Solution/m3 final project #35
Conversation
First commit - Missing the delete object function
Second commit
Third commit
projects/final-project/main.py
Outdated
def main(): | ||
print('HOUSEHOLD CATALOG MANAGER') | ||
setHouseRooms() | ||
Operation='' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Uppercase identifies classes in python, not variables
projects/final-project/main.py
Outdated
while not setHouseMode in ['1','2']: | ||
setHouseMode=input('Wrong, input! Retry: ') | ||
else: | ||
SetHouseMode='2' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SetHouseMode
or setHouseMode
? Uppercase is only for classes but, more important, have you tested your code?
projects/final-project/main.py
Outdated
SetHouseMode='2' | ||
|
||
#--PERFORMING INSERTION--# | ||
if SetHouseMode=='1': |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where SetHouseMode
is set equal to 1 in your code? It is possible set the variable to 1?
good work, this version is much better than previous! |
Fourth commit
No description provided.