Function not using Variables -
def login(x,y): if x == 'x' , y== 'y': login = true else: login = false variablex = input('enter variable') variabley = input('enter variable')
login(x,y) supposed use variablex , variabley in x == 'x' , y == 'y' why doesn't accept variables x , y?
it's in python , when tried use function other day worked
Comments
Post a Comment