Issue
I am writing Python code on comparison operators on VS Code and I'm getting this error:
"Expected parameter name", "source": "Pylance"
the error occurs in the first "hello"
This is my code:
# comparing strings
print("hello"="hello")
Solution
i believe it should be
print("hello"=="hello")
you are missing a = sign
Answered By - rpuh
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.