question archive Homework 5: Python Project (choose any topic that interests you ) My topic of Interest: Login Registration System The application must include at least the minimum number of each of the following: ? 4 container types (list, tuple, set AND dictionary) that are used by the application ? 1 iteration type (for, while) ? 1 conditional (if) ? 1 try block with an else condition ? 1 user-defined function that accepts parameters/arguments and/or returns a value
Subject:Computer SciencePrice: Bought3
Homework 5: Python Project (choose any topic that interests you )
My topic of Interest: Login Registration System
The application must include at least the minimum number of each of the following:
? 4 container types (list, tuple, set AND dictionary) that are used by the application
? 1 iteration type (for, while)
? 1 conditional (if)
? 1 try block with an else condition
? 1 user-defined function that accepts parameters/arguments and/or returns a value.
? 1 input and/or output file (include input data with your project)
? 1 user-defined class. The class must be imported by your main program from a separate file and have the following required structures.
− at least 1 private and 2 public self class attributes
− at least 1 private and 2 public class methods that take arguments, return values and are used by your program
− an init() class method that takes at least 1 argument
− a repr() or str() class method
− a magic class method (not one of the methods listed above)
5. Provide 2 unit tests that prove two of your public class methods work as expected. The tests should evaluate results using assert statements.
6. Your application must run successfully and do something interesting.