- Using the user input method, enter a number between 1 and10, and print out two results: a) this number multiplied by 2; b)the square of this number.
For example, the following prompt can be displayed:
'Enter a number between 1 and 1O:'
5 (this is your input)
And the output should look like:
The number multiplied by 2 is: 10
The square of this number is: 25
- subject = 'Get some dollars!'
In the string above, find out whether it contains the word'dollar' . If yes, print True.