+ 4

Please help me about Classes and Objects to complete this

Declare a class named Dog and implement a function inside named bark() . The function will print "woof woof" when it's called.

19th Apr 2020, 6:36 AM
Olivia Mikayla
Olivia Mikayla - avatar
3 Answers
+ 5
You should first do a try by yourself in sololearn playground, and post a link from this code here.
19th Apr 2020, 9:40 AM
Lothar
Lothar - avatar
+ 3
You should continue your python course, this is very basic stuff and well explained in the lessons. https://www.sololearn.com/learn/Python/2467/
19th Apr 2020, 6:48 AM
Tibor Santa
Tibor Santa - avatar