Default Method Java Interface Hackerrank Solution For Python