I am doing a project which involves displaying details of cars, vans, etc. The vehicles all have the same attributes apart from 1. When I try to display the attributes for the different vehicles I get this:
GC15AV0 is a Blue Skoda Octavia It has <function car.get_number_ of_doors at 0x00000239C6C9F 3A0> doors. Located at Paisley Its price is £ 11000
AB12CDR is a White Ford Transit It has a capacity of <function van.get_capacit y_in_kg at 0x00000239C6C9F 4C0> doors. Located at Greenock Its price is £ 17000
FG34HIJ is a Red Renault Traffic It has <function bus.get_number_ of_seats at 0x00000239C6C9F 5E0> seats. Located at Glasgow Its price is £ 15000
AD09GER is a Black Land Rover Range Rover It has <function car.get_number_ of_doors at 0x00000239C6C9F 3A0> doors. Located at Glasgow Its price is £ 22000
Why is it displaying the <function> part instead of the value?
Any help would be appreciated.
GC15AV0 is a Blue Skoda Octavia It has <function car.get_number_ of_doors at 0x00000239C6C9F 3A0> doors. Located at Paisley Its price is £ 11000
AB12CDR is a White Ford Transit It has a capacity of <function van.get_capacit y_in_kg at 0x00000239C6C9F 4C0> doors. Located at Greenock Its price is £ 17000
FG34HIJ is a Red Renault Traffic It has <function bus.get_number_ of_seats at 0x00000239C6C9F 5E0> seats. Located at Glasgow Its price is £ 15000
AD09GER is a Black Land Rover Range Rover It has <function car.get_number_ of_doors at 0x00000239C6C9F 3A0> doors. Located at Glasgow Its price is £ 22000
Why is it displaying the <function> part instead of the value?
Any help would be appreciated.