ERROR IN PRINTING THE USER INPUT CODE

I’ve written the same code as shown in this but it is not taking an input from me