Shift Elements in a List

Project #1

Shift selected characters in a random list of ASCII characters to the end of the list. Time how long it takes to shift the characters. Display the number of characters shifted and the elapsed time it took to shift them. (See the link below.)

Display the counts and the characters to be shifted?

Project #2

Same as Project #1 but use integers (or floats) instead.

How do you test floats for equality?

Project #3

Same is Project #1 but use a text file. Select 2 or more words to shift to the beginning of each sentence. (e.g. 'the', 'look', 'a', ...)

What about capitalized words?

Project #4

Move them to somewhere in the middle. Make it interactive and let a user select the position or positions?

Links

Avoiding My Mistakes!! - Shifting Zeros Problem (YouTube)