|
Please enter your age 16 Please enter your name Jane Doe Please enter your address Hi, Jane. I hope you are well. I notice that you are 16 years old. You live at Doe. |
|
There are two ways to get the computer to read more than one word into a string. When the user enters the string they can put quotes around the person's name. Here is the output from the first example using this approach:
Please enter your age 16 Please enter your name "Jane Doe" Please enter your address "17 Broadway Avenue" Hi, Jane Doe. I hope you are well. I notice that you are 16 years old. You live at 17 Broadway Avenue. |
|
How do you feel about Turing so far? So far I think I'm getting the hang of it On a scale of 1 to 10, how confident are you? 9 ***************************************************** Feelings: So far I think I'm getting the hang of it Ranking: 9 ***************************************************** |
|