Severity: Warning
Message: fopen(/home/answnniz/solutionspile.com/system/sessions/ci_sessioncf4f44b774cdd9706039a3e1a4cd9618ed2a4257): failed to open stream: Disk quota exceeded
Filename: drivers/Session_files_driver.php
Line Number: 176
Backtrace:
File: /home/answnniz/solutionspile.com/index.php
Line: 367
Function: require_once
Severity: Warning
Message: session_start(): Failed to read session data: user (path: /home/answnniz/solutionspile.com/system/sessions)
Filename: Session/Session.php
Line Number: 143
Backtrace:
File: /home/answnniz/solutionspile.com/index.php
Line: 367
Function: require_once
Part 1: Create a User object. In its constructor's parameters take these values - id, first_name, last_name, birthday and phone number. Override __str__ object to print values in this format: `User ID: 0 Alex Anderson 03/18/1999 402-123-4567` Part 2: Prompt a user to input three options, A, S, L -------------------------------------------------------------------------------------------------------------------------------------- if A is a entered then ask user to enter (you can assume user will always enter proper data, no need to do checking) id - int first name - string last name - string birthday (mm/dd/yyyy format) - string phone number (xxx-xxx-xxxx format) - string Once user enters data, convert data into a Python object User. Store all given data in your program. (You can store it to whatever you want, LIST, TUPLES or DICT, its up to you) Do not accept data if id already exists. You can discard remaining entries if id is duplicate. Print an error message Prompt user with options after data was collected. ---------------------------------------------------------------------------------------------------------------- if L is entered then print all entered data in this format `User ID: 0 Alex Anderson 03/18/1999 402-123-4567` Prompt user with options after printing all data. ---------------------------------------------------------------------------------------------------------------- if S is entered then save all data into a file and exit the program. MUST include: User.py main.py - must have main function in it.