Hi, I'm still practice learning Python.
I have a litte homework, make Class method,
Class Date and Class Delta without using import.
it must be like this...
>>> date(2020, 5, 2) + delta(year=5)
date(2025, 5, 2)
>>> date(2020, 5, 2) + delta(month=3)
date(2020, 8, 2)
>>> date(2020, 5, 2) + delta(day=10)
date(2020, 5, 12)
>>> date(2020, 5, 2) + delta(year=5, month=7)
date(2025, 12, 2)
must be tuple and without import.
I'm using python2.7
If i using two init or two call
place one at class date and class delta.
the argumen always take
'TypeError'
Thanks Before..