Assume that a variable L1 is instantiated to a list (five,six, seven), and variable A1 is instantiated to an atom four.
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Assume that a variable L1 is instantiated to a list (five,six, seven), and variable A1 is instantiated to an atom four.
Assume that a variable L1 is instantiated to a list (five,six,seven), and variable A1 is instantiated to an atom four. Write asingle Prolog statement that will create a new list that will haveall numerals represented by words in ascending order.