Hey! I hope you see my comment considering this is an old video. I have two questions. Around on the video you have emp_1 and emp_2 outside def function, however they still work with the code inside “def __Init__”. I don’t understand why they still work. Why is that not necessary for your employe variables to be inside your Init function?(00:08:30 - 00:15:24)
Python OOP Tutorial 1: Classes and Instances
Corey Schafer
※本サイトに掲載されているチャンネル情報や動画情報はYouTube公式のAPIを使って取得・表示しています。
Timetable
動画タイムテーブル
動画数:236件