Open main menu

CDOT Wiki β

Changes

OPS435 Python Lab 6

20 bytes removed, 22:30, 7 July 2019
Reverted to previous correct version
Student Number: 013454900
GPA of student John is 2.0
['ops235ops435', 'ops435ops235', 'uli101']
Student Name: Jessica
Student Number: 123456
GPA of student Jessica is 2.5
['ipc144', 'cpp244', 'cpp344ipc144']
</source>
:::'''Sample Run 2 (with import):'''<source lang="python">
student1.displayCourses()
# Will print: ['ops535', 'win310']
student2 = Student('Jen', 987654321)
1,760
edits