type()، ininstance() برای دریافت و تعیین نوع در پایتون https://fa.from-locals.com/python-type-isinstance/