How much do you love me?
You are to write a program which will show just how much your computer loves you!
When run the program will display a “[” symbol, followed by a random number of “-” and ending with a “]”. For example a couple of runs of the program might produce.
This is how much I love you.
[——-]
This is how much I love you.
[————————–]
This is how much I love you.
[————–]
In order to complete this task you will need to –
- Roll a random numberĀ http://docs.python.org/library/random.html
- concatenate a string for display using a while loop

You need to log in or create an account to submit code!











