This is Commodore64 BASIC Input, but a <RET> is not required

GET p$

Example

360 get p$ : if p$ <> "y" and p$ <> "n" then 360