Nov 7, 2011 #1 rukman Programmer Nov 4, 2011 7 US e.g. ?-addbubba([a,b,c],X). X=[a,bubba,b,bubba,c,bubba] I tried like this.. addbubba([],[]). addbubba([X|Y],[A|B]):- not(integer(X)), isList(Y),A = X,addbubba(Y,B),append(B,'bubba',K). pls help its urgent...
e.g. ?-addbubba([a,b,c],X). X=[a,bubba,b,bubba,c,bubba] I tried like this.. addbubba([],[]). addbubba([X|Y],[A|B]):- not(integer(X)), isList(Y),A = X,addbubba(Y,B),append(B,'bubba',K). pls help its urgent...