You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
toptail function says no if InList is a list containing fewer thann 2 elements, and which deletes the first and the last elements of InList and returns the result as OutList, when InList is a list containing at leasst 2 elements.
*/
toptail([_|[_|[]]],[]). %list with 2 elements will return empty