(Mandatory - Graded) : Logic Programming
(Mandatory - Graded) : Logic Programming
7 Logic Programming
(Mandatory – Graded)
What are the answers generated by your definitions for the queries:
brother(X,Y)
cousin(X,Y)
grandson(X,Y)
descendent(X,Y)
4. Solve the set of queries in the previous question using imperative programming
paradigm in Python. Store the data in a dictionary.