verify using isinstance()

Question

Create a custom class, create its object and verify its type using isinstance().

solved 0
YashikaKhurana 55 years 1 Answer 636 views Master 0

Answer ( 1 )

  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”]

    Best answer

Leave an answer

Browse
Browse