Edit: Don't worry I solved it, I was using 'and' the wrong way 
Help, I'm working on the below code in Python and I get can't assign operator error message. I know its going to be so easy to solve, but I fell so clueless
Help, I'm working on the below code in Python and I get can't assign operator error message. I know its going to be so easy to solve, but I fell so clueless
Code:
def bulls_and_cows (x,y):
"""Returns a random number based on what user specifies
bulls_and_cows (int, int) -> (int)
"""
if digits == 1:
x = 0 and y = 9
elif digits == 2:
x = 10 and y = 99
elif digits == 3:
x = 100 and x = 999
elif digits == 4:
x = 1000 and y = 9999
elif digits == 5:
x = 10000 and y = 99999
elif digits == 6:
x = 100000 and y = 999999
else:
print "Needs to be a number between 1-6."