Namnändringar

This commit is contained in:
2018-03-15 15:57:10 +01:00
parent 0e9132c795
commit b7346fbbd8
2 changed files with 0 additions and 2 deletions

11
Pass2/5 Struct.py Executable file
View File

@@ -0,0 +1,11 @@
class Car:
pass
myCar = Car() # Create an empty employee record
# Fill the fields of the record
myCar.model = 'V 70'
myCar.brand = 'Volvo'
myCar.year = 2005
print(myCar.model)