All Tracks/workshop media catalogue/
Đang tải...
Hướng dẫn thử thách
1 / 42

Step 1

In this workshop, you are going to create a media catalogue. Start by defining a class named `Movie`. Give your class an `__init__` method with the following parameters: `self`, `title`, `year`, `director`, and `duration`. Inside the `__init__` method, assign `title`, `year`, `director`, and `duration` parameters to instance attributes with the same name.
Vượt qua bài kiểm tra hiện tại để mở khóa bài tiếp theo.
main.py
UTF-8 • Tab Size: 2Kiểm tra bài:⌘↵
Test Output
Thử thách này không có bài test tự động. Hãy quan sát kết quả trực tiếp ở khung Preview.