I am not using Jupyter Notebooks. I am using REPL to test my code.
Pardon me, but I was not able to understand the error message properly.
Can you try running the code in REPL or any python code editor?
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.