Ask coding questions

← Back to all posts
markdipo (0)

how do i make the code read what ive typed in the dialog box

ash15khng (486)

You seem to be correct?
The variables name and day stores the value of whatever you type into the program.

Geocube101 (468)

What do you mean read what you typed.
Anything typed between the calling of input() and pressing the enter key is stored as a string to a variable (in your case day)
It already looks like you know how to use input