Ask coding questions

← Back to all posts
question
markdipo (0)

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

Commentshotnewtop
ash15khng (292)

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

Geocube101 (245)

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