Neural IT interview question

An array is given like $arr=array(1,2,3,4,5) and we have to echo a string as 1@2@3@4@5

Neural IT Interview Question: An array is given like $arr=array(1,2,3,4,5) and we have to echo a string as 1@2@3@4@5 | Glassdoor