Please I don’t seem to understand this code below.
free_googleApps = [ ]
free_appleApps =[ ]
for app in google_englishApps:
price = app[7]
if price == 0
:
free_googleApps.append(app)
for this_app in apple_englishApps:
price = app[4]
if price == '0.0
:
free_appleApps.append(this_app)
Length of google apps =8864
Lengths of Apple apps = 0
When I replace the prices to “0” and try printing out the length, I get length of apple as zero. But when I replace it to “0.0”, I get the corrent length, please, why is it like this…
Thanks.