One purpose of asking for user input is to update a variable with the latest value. For example personal devices will have some kind of security code or password to prevent unauthorised access. However new devices may have a standard security code which should be set to a new value by the owner.