RosettaCodeData/Task/Generic-swap/Picat/generic-swap-7.picat
2023-07-01 13:44:08 -04:00

4 lines
40 B
Text

A = 1,
B = 2,
swap_pair([A,B],X),
% ...