Is there a way to do an if in prolog, e.g. if a variable is 0, then to do some actions (write text开发者_Go百科 to the terminal). An else isn\'t even needed, but I can\'t find any documentation of if.
最近相信很多小伙伴都很有兴趣了解这个话题,因为最近这个话题也很热门。既然大家都想知道是罗挖的,我也在网上搜集了一些与罗挖相关的资料,大家分享一下。