Question: f we have the 10 character string: my_str='Do Not Lie!' what does the following command return? my_str[7:-1] a. Do Not b. Not Lie! c. Lie
f we have the 10 character string:
my_str='Do Not Lie!'
what does the following command return?
my_str[7:-1]
| a. | Do Not | |
| b. | Not Lie! | |
| c. | Lie | |
| d. | Lie! |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
