Maurice wants to create a variable to store the name of the second-best taco place. Maurice writes the line of code as 2ndtaco = “Tio Dan’s” but gets an error message. What is the problem with Maurice’s code?
There can’t be an apostrophe ‘ in a variable name.
The equals sign should be a dash.
The type of variable wasn’t specified.
A variable name can’t begin with a number.
1 answer
A variable name can’t begin with a number.