Wednesday, October 28, 2020

Diffrence between two

for i in grocery:
if i.store_type=="Alcohol" or "Both":(1)
if i.store_type=="Alcohol" or i.store_type=="Both":(2)

can anyone tell me the diffrence between two statements,I am getting two diffrent results

You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To view this discussion on the web visit

No comments:

Post a Comment