小编new*_*his的帖子

序言比

在 Prolog 中找到谁最高的最简单方法是什么:

height(lisa,1.65).
height(sam,1.70).
height(luke,1.92).
height(nicole,1.54).
Run Code Online (Sandbox Code Playgroud)

我想写

tallest(X) :- Y is bigger than other Y's
Run Code Online (Sandbox Code Playgroud)

prolog

1
推荐指数
1
解决办法
58
查看次数

标签 统计

prolog ×1