microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
158.92k stars 27.79k forks source link

Code is not working showing attribute error #212067

Closed iRizwan0007 closed 1 week ago

iRizwan0007 commented 1 week ago

ADD ISSUE DESCRIPTION HERE

Version: 1.89.0 Commit: b58957e67ee1e712cebf466b995adf4c5307b2bd User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 Embedder: codespaces

When iam trying to run the python file it is showing attribute error in GitHub cs50.dev code space but when I run the same code in my Microsoft VScode it is perfectly working

code:--

import inflect inflector = inflect.engine() words = inflector.number_to_words(54321) print(words)

iRizwan0007 commented 1 week ago

And yes I did install pip inflect

hope you will correct it