

:- dynamic temp/1.

:- assert(temp(mydata)).


test :-
    temp(Data),
    write(Data),nl.

  
