Question: 1 2 . In a single line, write a Python instruction to extract the word Hello from the sentence Hello world! and save it to

12. In a single line, write a Python instruction to extract the word Hello from the sentence Hello world! and save it to a variable. (1 mark)
13. Write a Python statement to add the remainder of the Hello world! sentence back onto your variable, without the exclamation mark. (1 mark)
14. Write a print statement that can print any two individual words (e.g.,hello and there) with a space between them. (1 mark)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!