In the variable lesson, I don't understand why the word "not" is in another color and rejected in "spaces are not allowed | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

In the variable lesson, I don't understand why the word "not" is in another color and rejected in "spaces are not allowed

8th Jul 2020, 7:55 PM
DESMOND OMOREGBEE
2 Answers
+ 6
To get help from the community you should put your code in playground and link it here. Thanks!
8th Jul 2020, 8:05 PM
Lothar
Lothar - avatar
+ 3
The highlighting of the word 'not' is easy to clarify: It's a keyword, the boolean logic-'not', the equivalent of '!'. Keywords are always highlighted. What the space-part of your question means I also don't understand without a piece of code.
8th Jul 2020, 8:30 PM
Sandra Meyer
Sandra Meyer - avatar