Project No.7 Led Control using Bolt Python Library showing error invalid value for state

When i try to on led using Bolt python library it shows an error invalid value for state i am attaching screen shot also

I think that in the line 5 you giving the extra space before brackets and giving the state value you giving the extra space before value HIGH, so because of this the value of state is shown invalid

2 Likes

Yes you are right now it’s working. Thanks