mardi 22 septembre 2020

Why my if check is not working in this code yet works in other separate file

my program outputs following:

NA NA NA NA NA [] [] [] [] NA NA

enter image description here

and this is my if check

if(firstname=='NA' and middlename=='NA' and lastname=='NA' and designtn=='NA' and psummary=='NA' and experiences==[] and companynames==[] and datesjoining==[] and uskills==[] and profileimage=='NA' and userlocation=='NA'):      
    self.proxyStatus2()

but when I use this if condition, it doesn't return true somehow and inner components doesn't get parsed. the condition seems fine to me. I created a new python file and created the same conditions there and it was working there yet in this code it doesn't work.

Aucun commentaire:

Enregistrer un commentaire