# coding=utf-8 # najprej opis description = """\

Sister

Predikat sister(X, Y) velja natanko takrat, kadar je X sestra od Y. Primer klica:

?- sister(X, patricia).
  X = vanessa.

""" # in zdaj hinti hint = {} # to je komentar hint['must_have_common_parent'] = """ X in Y morata imeti (vsaj enega) skupnega starša.
""" hint['x_must_be_female'] = "X mora biti ženskega spola." hint['x_cant_be_own_sister'] = "X ne more biti sestra sama sebi." hint['y_not_necessarily_woman'] = "Y ni nujno ženskega spola / relacija ni simetrična." # a drop-down hint must supply the arguments: start (int), end (int), choices (array of string) hint['drop_down'] = { 'type': 'dropdown' } # a pop-up hint must supply the arguments: start (int), end (int), args (object of key-value args for the template, optional) hint['popup_unknown'] = { 'type': 'popup', 'message': 'nekaj si zabluzil v vrstici [%=row%]' } # a static hint can supply an optional argument: args (object of key-value args for the template) # a static hint can also be defined as a string instead of an object hint['sample_static'] = { 'type': 'static', 'message': 'A sample static hint' }