python using class must have the following attributes: hours representing the number of hours; days representing the number of days; and weeks representing the number of weeks. code example
Example: python datetime
from datetime import date
f_date = date(2014, 7, 2)
l_date = date(2014, 7, 11)
delta = l_date - f_date
print(delta.days)