Question
Which of the following lines of code will result in an error?
Answer: Option D
Was this answer helpful ?
The line: s={san} will result in an error because 'san' is not defined. The line s={abs} does not result in an error because abs is a built-in function. The other sets shown do not result in an error because all the items are hashable.
Was this answer helpful ?
Submit Solution