Re: Diffrence between two

2020-10-28 Thread Ashutosh Mishra
s if statement will only be true if the store_type is > 'Alcohol' or 'Both'. > > Regards, > > Andréas > > Den ons 28 okt. 2020 kl 12:30 skrev Ashutosh Mishra >: > >> for i in grocery: >> if i.store_type=="Alcohol" or "Bo

Re: Diffrence between two

2020-10-28 Thread Andréas Kühne
:30 skrev Ashutosh Mishra < ashutoshmishra...@gmail.com>: > 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 statement

Diffrence between two

2020-10-28 Thread Ashutosh Mishra
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