https://app.codesignal.com/arcade/intro/level-6/6Wv4WsrsMJ8Y2Fwno
Correct variable names consist only of English letters, digits and underscores and they can't start with a digit.
Check if the given string is a correct variable name.
-
For
name = "var_1__Int", the output should besolution(name) = true. -
For
name = "qq-q", the output should besolution(name) = false. -
For
name = "2w2", the output should besolution(name) = false.