EDOT interview question

Create code about logic of lift button.