id/email
password
forgot password | create account
about | help | prefs
ReadingBatcode reading practice

 

 

Athenian: Booleansnot_equal1

prev  |  next  |  chance

Checking to see if a number is not equal to another number

def not_equal(num):
    x = (num != 5)
    return x
Function Call  Return Value
not_equal(3)
not_equal(5)
not_equal(7)

Experiment with this code on Gitpod.io

⬅ Back