Feb-07-2019, 01:11 AM
What you posted is neither full nor minimal. It's not full because there are no imports, and it's not minimal because your question really doesn't seem to be about databases or web server, so it should be framed without those to keep it as simple as possible. You also didn't describe your input and output clearly.
The code you post should look something like
I'm pretty certain that your problem can be very, very simplified, and one it is it'll get an answer quickly.
The code you post should look something like
if '=' not in name + month + year: print(1) elif '=' not in month + year: print(2) elif '=' not in name + year: print(3) elif '=' not in year: print(4)except that you should hard-code values for those variables that reproduce the problem, and explicitly say which number you expect for which variable values. Make sure to run the code you provide here to ensure that it reproduces the problem.
I'm pretty certain that your problem can be very, very simplified, and one it is it'll get an answer quickly.