Ask for a name
This page needs a recent browser (with SharedArrayBuffer support). Please update Chrome, Edge, Firefox or Safari to the latest version.
Ask for a name
input() reads one line that the user types. Store it in a box, then use it.
Read a name with input(). Then show Hi, + the name + !. For Sam, show Hi, Sam!.
Click Run to see the output here.