This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import copy | |
class Course: | |
def __init__(self,course_id,course_title,course_price,course_level_begin,course_level_end): | |
self.course_id = course_id | |
self.course_title = course_title | |
self.course_price = course_price | |
self.reputation = 0 | |
self.school = '' | |
self.course_pre = 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Author: | |
def __init__(self,author_id,author_name): | |
self.author_id = author_id | |
self.author_name = author_name | |
def get_id(self): | |
return self.author_id | |
def get_author_name(self): | |
return self.author_name |
NewerOlder