Print command error

row_1 = [‘Facebook’, 0.0, ‘USD’, 2974676, 3.5]
row_2 = [‘Instagram’, 0.0, ‘USD’, 2161558, 4.5]
row_3 = [‘Clash of Clans’, 0.0, ‘USD’, 2130805, 4.5]
row_4 = [‘Temple Run’, 0.0, ‘USD’, 1724546, 4.5]
row_5 = [‘Pandora - Music & Radio’, 0.0, ‘USD’, 1126879, 4.0]

app_data_set = [row_1, row_2, row_3, row_4, row_5]

for each_list in app_data_set:
print(each_list)

Got this error while i was trying to use the print command

TypeErrorTraceback (most recent call last)
in ()
8
9 for each_list in app_data_set:
—> 10 print(each_list)

TypeError: ‘int’ object is not callable

Hi prospectconsult.ng,

Interesting problem. I reproduced your code (see below) and it worked on my home computer and on the Dataquest server. I know this isn’t very helpful, but hopefully it will help you or another community member narrow your problem down a little bit.

row_1 = ['Facebook', 0.0, 'USD', 2974676, 3.5]
row_2 = ['Instagram', 0.0, 'USD', 2161558, 4.5]
row_3 = ['Clash of Clans', 0.0, 'USD', 2130805, 4.5]
row_4 = ['Temple Run', 0.0, 'USD', 1724546, 4.5]
row_5 = ['Pandora - Music & Radio', 0.0, 'USD', 1126879, 4.0]

app_data_set = [row_1, row_2, row_3, row_4, row_5]

for each_list in app_data_set:
    print(each_list)