...
/Exercise: Find a Number in a List
Exercise: Find a Number in a List
Test your knowledge of the conditional and looping directives covered in this chapter.
We'll cover the following...
We'll cover the following...
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
...