MCQs>IT & Programming>Python>Regarding the code below, what's correct statement ? class Book: def __init__(self, isbn): self.isbn = isbn isbn = 'test' book = Book(12345)
Python MCQs
Regarding the code below, what's correct statement ? class Book: def __init__(self, isbn): self.isbn = isbn isbn = 'test' book = Book(12345)
Answer
Correct Answer: book.isbn will contain the value 12345.
Explanation:
Note: This Question is unanswered, help us to find answer for this one