Are the Numbers Equal?

Published by Matt in

Create a function that returns true when num1 is equal to num2; otherwise return false.

Examples

is_same_num(4, 8) ➞ false

is_same_num(2, 2) ➞  true

is_same_num(2, "2") ➞ false

Notes

Don't forget to return the result.

Watch a quick demo on how Edabit works.