Question: Write the following code and run it: look = 'Look at me!' now='NOW' print(String 1: , look[ :4]) print(String 2: , look[-7 : )) print(String

Write the following code and run it: look = 'Look at me!' now='NOW' print("String 1: , look[ :4]) print("String 2: , look[-7 : )) print(String 3:, look*4) print(String 4: , look[:-1]*2 + now + look[-1]) " Explain how the above four strings are obtained
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
