Sum up data from facts
问题 (Given a list of movies, write a PROLOG rule to add and display the total takings.) This is my question I am basically trying to add an integer value give a list of movies from the list below. I am quite new in Prolog and I don't really understand how things work. takings(air_force_one,315000000). takings(american_beauty,336000000). takings(american_pie,201700000). takings(american_wedding,230700000). takings(armageddon,554600000). takings(as_good_as_it_gets,313300000). takings(austin_powers