Deductions & credits

Can I deduct amount of taxes I paid while holding the inherited property until it was sold?