Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在编写一段序言代码,我想知道一个数字是否大于 1。每当我查询它时,它总是返回 false。
sss(count):- count > 1.
Prolog 中的变量以大写字母或下划线开头。话虽如此,
sss(Count):- Count > 1.