Question: Section B, A1B (20 marks): Programming Tasks - IMPORTANT: - Source code *,py file must start with comments, including the information of individual student (student

 Section B, A1B (20 marks): Programming Tasks - IMPORTANT: - Sourcecode *,py file must start with comments, including the information of individual

Section B, A1B (20 marks): Programming Tasks - IMPORTANT: - Source code *,py file must start with comments, including the information of individual student (student mame, stadent id) as example below, unless specified. E.g. below \# A191.py, for IDS.A A1 * FINISHED by! CHAM 51H Fing?, 28eg4e16o class Rectangle! I define the class of Rectannle - Modify the given Main testing file N - py file (if any) to display the information of indrvidual student (student name, student id) as example below, unless specified. E.g. below \begin{tabular}{|l|} \hline A1B1, Rectangle Progran, by eCHaN Siu Mings e2eeg4e16s w \\ \\ \end{tabular} General repuirements (unless further specified): Students should handle special cases, examples empty list, ancelement list, etc. Proper brief comments are required, at lesst at the top of each source code file. Proper indentations required in writing program codes. All related files (including *-py) should be working in the same folder. Py thon liat is mainly nsed to hold diut clements as an arruy in anr course amd thiv assecvment. DO NOT nse methods of Python's 11st (such as 11 st. append () or 11 st. 1nrert() etc), inheritance in OOP, ar ather nan-tunght appoouches in our course, menloss specified. Given Materials: This assignment document. Python files 1B1. PY and 1 B2. PY, to be modified and completed by student. Also modify rop camments for your STLDENT IVFO, DO NOT modify the given portions niess specified, inchading grven methods if any. a. Python files Ma1B1.py and Ma1B2.py, the main fild(s) for bavic running and testing. - DO NOT modify this given main tert file, except the STUDENT INFO part

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!