Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Best Practices: Python OOP

Accessing AttributesAccessing Attributes

You can access the attributes of an object using the dot notation.

Завдання

  1. Access the name attribute of the object dog1;
  2. Access the breed attribute of the object dog1.

Mark tasks as Completed

Все було зрозуміло?

Секція 1. Розділ 4
AVAILABLE TO ULTIMATE ONLY
course content

Зміст курсу

Best Practices: Python OOP

Accessing AttributesAccessing Attributes

You can access the attributes of an object using the dot notation.

Завдання

  1. Access the name attribute of the object dog1;
  2. Access the breed attribute of the object dog1.

Mark tasks as Completed

Все було зрозуміло?

Секція 1. Розділ 4
AVAILABLE TO ULTIMATE ONLY
some-alt