Skip to content

Instantly share code, notes, and snippets.

View rm77's full-sized avatar
💭
(to be) or not (to be) = (to be)

Roy rm77

💭
(to be) or not (to be) = (to be)
  • surabaya, indonesia
View GitHub Profile
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
@rm77
rm77 / course
Created May 28, 2015 07:33
model for virtual knowledge market
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