Ajit Kumar AI Lab
Ajit Kumar AI Lab
1
ASSIGNMENT – 1
Q1. Use logic programming in python to check for prime
numbers.
Code:-
Output:-
2
Q2. Use logic programming in python parse a family tree and
infer the relationships between the family members.
Code:-
3
Output:-
4
Q3. Python script for building a puzzle solver.
Code:-
5
Output:-
THE END