Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- %This is the solution to 7.1, switching around the last 2 lines will result in 7.2
- summer(X):-happy(X).
- summer(X):-warm(Y).
- happy(b).
- warm(Y):-warm(Y).
- warm(a).
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement