Changes

Jump to: navigation, search

OPS435 Online Lab6

60 bytes added, 17:22, 14 July 2020
PART 2 - Understanding Class Structure
student1 = Student('John', '013454900')
</source>
Note: Student ID number should be a String, not an integer.
:# Have a look at the contents of the object student1:<source lang="python">
print(student1.name)

Navigation menu