BaşlayınÜcretsiz Başlayın

Exploring objects and classes

The best way to learn how to write object-oriented code is to study the design of existing classes.

In this exercise, you will explore objects of different classes to learn more about their attributes and methods.

Bu egzersiz

Introduction to Object-Oriented Programming in Python

kursunun bir parçasıdır
Kursu Görüntüle

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

ratio = 12 / 8

# List all attributes and methods for the ratio object
print(____(____))
Kodu Düzenle ve Çalıştır