Share
verify using isinstance()
Question
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Create a custom class, create its object and verify its type using isinstance().
Answer ( 1 )
Read our tutorial to find the solution to this question.
Hint: A class is created like this->
class student:
name=”josh”
grade=12
school=”Kings High”
marks=12.6
subjects=[“math”, “history”, “psychology”, “physics”]