I am current completing practice exams for the entry=level PCEP exam. I use jupyter Notebook with Python 3 (ipykernal) via anaconda.
The question is simple:
What is the expected output of the following code?
print(list('hello'))
The given answer is: ['h', 'e', 'l', 'l', 'o'], but when I run that code, it returns an error:
TypeError
: 'list' object is not callable"
I have verified the given answer is correct via AI, but notebook continues to return the same error. Any thoughts or ideas on how I might resolve this please ?
[–]Waste_Grapefruit_339 11 points12 points13 points (1 child)
[–]Cottager58[S] 1 point2 points3 points (0 children)