31 Years of Python | 48 Hour Sale Extension!!!
days
hours
minutes
seconds

Conditional Statement - Python intro

Continuing the discussion from Https://app.dataquest.io/m/313/conditional-statements/9/the-else-clause:
Thanks Unable to obtain a Nice Job on 9/12, but I was able to complete 12/12. Now Mission : Conditional Statement is indicating no completion,
Here is my code

opened_file = open(‘AppleStore.csv’)
from csv import reader
read_file = reader(opened_file)
apps_data = list(read_file)

for app in apps_data[1:]:
price = float(app[4])
# Complete code from here
for app in apps_data[1:]:
price = float(app[4])
if price == 0.0:
app.append(‘free’)
else:
app.append(‘non_free’)

apps_data[0].append(‘free_or_not’)
print(apps_data[:6])

A post was merged into an existing topic: Https://app.dataquest.io/m/313/conditional-statements/9/the-else-clause