Find the Missing Number

Challenge Difficulty: Easy | Estimated completion time: ~5 minutes

You are given a list of numbers between 1 and 10, but one number is missing.

Your task is to find and return the missing number.

Examples

missing_num()
output = 5
// The number 5 is missing from the sequence.
 
missing_num()
output = 10
// The number 10 is missing from the sequence.
 
missing_num()
output = 7
// The number 7 is missing from the sequence.