In this exercise we will introduce you to pattern matching and guards. Write a function hello_pattern:hello/1 which takes a tuple:
{morning, Name}, ignores the name and returnsmorning.{evening, Name}, returns a tuple{good, evening, Name}.{night, Name}, ignores the name and returnnight.{math_class, Number, Name}. If the number is lower than zero, returnnone, in any other case return{math_class, Name}.
Resolve this exercise without using if, case. You should use pattern matching and guard only.
Check if your solution is working running make. And if your find your self in trouble you can always check our suggested solution.