5 XP challenge

Reject a Blocked Value

very easy
Build it yourself · 3 min
1 Learn2 Predict3 Solve

Task
Your mission

Return true exactly when value is different from blocked. Both inputs are integers from -100 to 100.

Examples

InputReturn
value = 3, blocked = 3false
value = 3, blocked = 4true

Your code

Write your answer inside Solution, then use return to send it back.

Try examples runs the public examples. Check my code checks your full answer and saves your completion.