1. 学习
  2. /
  3. 课程
  4. /
  5. Introduction to Object-Oriented Programming in Python

Connected

练习

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.

说明 1 / 共 2 个

undefined XP
  • 1
    • Print all possible attributes and methods for the ratio object.
  • 2
    • Repeat this for the float class.