Fix the Expression

Published by Mubashir Hassan in

Fix the code in the Code tab so the function returns true if and only if x is equal to 7. Try to debug code and pass all the tests.

Examples

is_seven(4) ➞ False

is_seven(9) ➞ False

is_seven(7) ➞ True

Notes

The bug can be hard to find, so look closely!

Watch a quick demo on how Edabit works.