+ 1
Can I get some help?
3 Answers
+ 4
Working on it...
EDIT
A few problems here:
x=0
y=0
def Not_Equal():
x = input("Enter 2 numbers:\n")
y = input("")
if x!=y:
print("Not Equal")
else:
print("Equal")
Not_Equal()
First, indentation in Python works like {} in normal languages. You have to have print(not equal/equal) indebted farther than the if and else.
Second, you need to call Not_Equal at the end so that code actually runs.
Third, the function does not need any parameters.
Fourth, to store the values of input() in variables, you do this:
var = input(âmessageâ)
+ 1
you have bad indentation
fix the number of spaces on the beginning of line
+ 1
thx guys