Friday, 10 June 2022

Basics of python IOP

if isinstance(object, type):

# this checks whether the the object belongs to the soecified type or not. mane oi object er type ta ki jeta braces er moddhe ase setai naki onno kichhu.

# isinstance(name, str) checks if name is an instance of a class str . name er datatype string e kina ta check kore. 

No comments:

Post a Comment