IDZ Digital interview question

magic shows using coding