> import random max = random.randint(15,10000) input = '' chars = ['v','<','>','^'] for i in range(0,max): input += chars[random.randint(0,3)] print(input)
Solve a Solitaire Chess Puzzle
code-golf
Recently, I was introduced to a puzzle game known as Solitaire Chess. I'll summarize the rules here:
The board is a 4x4 checkerboard.
All pieces are the same color (no teams) and all pieces can capture any other piece.
Every move must be a capture. No ...
I was wondering if interchange and exchange are equivalent and can be used interchangeably or exchangeably (okay this is an example already)?
What are the differences between their prefixes, inter- and ex-?
It is common for XML to be used in interchanging data over the Internet.