Pls help with error

Help us help you. Read this link first and learn how to format code so we can help you better. About the Python Help category You will get more help this way.

Also be sure to include this information in every new post you make.

  1. Your OS name and version.
  2. Which Python, Colab, Jupyter, Pyscript you are using and it’s version.
  3. If you are using a development environment. This is normally required except perhaps while taking a Python class.
  4. Your IDE name and version like Pycharm or Visual Studio Code. VSC sometimes has addons that can help you.