Python+Strings+(H)

Extension Tasks
1. Write a program which asks the user to enter their name, reverses it and saves it to file

2. Write a program which asks the user to enter a word. The word is then given a score using the following rules: Vowel = 2 points Q, X, Y or Z = 5 points All other consonants = 1 point

3. Write a program which asks the user to input a sentence, and then replaces every space with one of the following symbols chosen at random (! $ * &)

4. A secret code generator takes a string of characters and pads them with 2 additional randomly generated characters in between. For example 'Hello World' when generated as a secret code might become 'an** H **yT** e **aU** l **Ok** l **mr** o **ve WR** W **as** o **iU** r **lN** l **zz** d **'

Write a program which will (a) code the message using these rules and (b) decode the message using these rules