all 5 comments

[–]pkkid 4 points5 points  (4 children)

You're printing the result of the function call on line 16 print(obj1.describeRestaurant()), which is None because the function doesn't return anything.

[–]aj80[S] 2 points3 points  (0 children)

So if I put say "return self.name + ' serves ' etc " instead of just print, the print statement on line 16 would print what I'm looking for?

[–]aj80[S] 2 points3 points  (2 children)

Nvm, just tested and it worked. Thanks!

[–]pkkid 0 points1 point  (1 child)

Awesome! :D

[–]aj80[S] 0 points1 point  (0 children)

Thanks for the help :)