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
: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
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
3 matches
Mail list logo