Exercise: Find a Number in a List

Test your knowledge of the conditional and looping directives covered in this chapter.

Problem statement

In this challenge, you have to find a number in a list.

Given a number $num and a list @list, traverse the list to check if it contains the number $num ...