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
Suggested prompts:
Opsummér dette kapitel
Explain code
Explain why doesn't solve task
Fantastisk!
Completion rate forbedret til 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