Seção 1. Capítulo 4
single
Challenge: Using init and self in Classes
Deslize para mostrar o menu
Tarefa
Deslize para começar a programar
- Define a class called
Book. - The class should have an
__init__method that takes three parameters:self,title, andauthor. - Initialize the
titleandauthorattributes usingself.
Solução
Tudo estava claro?
Obrigado pelo seu feedback!
Seção 1. Capítulo 4
single
Pergunte à IA
Pergunte à IA
Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo