Challenge
Opgave
Swipe to start coding
- Create the
Catclass:
- Set
infoandmake_soundmethods inside theCatclass; - Inside the
make_soundmethod print'Meow'.
- Create the
Dogclass:
- Set
infoandmake_soundmethods inside theDogclass; - Inside the
make_soundmethod print'Bark'.
- Create
catanddogobjects based on theCatandDogclasses respectively.
Løsning
Var alt klart?
Tak for dine kommentarer!
Sektion 4. Kapitel 2
single
Spørg AI
Spørg AI
Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat
Awesome!
Completion rate improved to 7.69
Challenge
Stryg for at vise menuen
Opgave
Swipe to start coding
- Create the
Catclass:
- Set
infoandmake_soundmethods inside theCatclass; - Inside the
make_soundmethod print'Meow'.
- Create the
Dogclass:
- Set
infoandmake_soundmethods inside theDogclass; - Inside the
make_soundmethod print'Bark'.
- Create
catanddogobjects based on theCatandDogclasses respectively.
Løsning
Var alt klart?
Tak for dine kommentarer!
Sektion 4. Kapitel 2
single