CJCoding With Joseph
15free / daySign inCreate account

String variables hold text. Declare a string variable named name and assign it the value "Maya". Then use string interpolation to print the greeting: Hello, Maya! Interpolation lets you drop a variable directly inside text by putting a $ before the opening quote and wrapping the variable in curly braces.

Expected output

Hello, Maya!

= newline. The output ends with a newline, so print one after the last line.

Hints2 available
Topics
Variables
1
Tab to indent (Esc then Tab to move on) · Ctrl+Enter to run · Shift+Alt+F to format · Ctrl+Space to expand shortcuts (cw, cr, fori)

Your output

Run your code to see the output here...

Test cases

Run your code to see test case results.