prolog create fact

To create a fact in Prolog, you can use the syntax fact_name(fact_arguments). Here's an example:

likes(john, pizza).

In this example, likes is the fact name, john is the first argument, and pizza is the second argument. This fact states that John likes pizza.

You can create multiple facts by adding more lines to your Prolog program. Each fact should be terminated with a period (.) to indicate the end of the fact.

Please let me know if you need further assistance!