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

Create your first class

Time to write your first class!

In this exercise, you'll start building the Employee class, beginning by defining it as an empty class, and then adding a method allowing you to set an object's .name attribute.

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.

# Create an empty class Employee
____


# Create an object emp of class Employee 
____
Kodu Düzenle ve Çalıştır