EduThrill interview question

Question was based on Beauty code.