Question 1 of 20
Easy
Compute a value
Length of a product name
An online grocery store limits product names to a fixed number of characters on its app.
The variable product_name (a string) is already defined. Create a variable named name_length that holds the number of characters in product_name. Spaces count as characters too.
Already defined for you
Model answer
Why it works
You have used your free questions
Guests can try 5 easy, 2 medium and 1 hard question. A free account unlocks every question and saves your progress.
Press Run to see what your code prints, or Submit to check it against every test.
Test results appear here after you run or submit.