Chapter 8: Problem 8
What will the following code display? mystring \(=\) 'abcdefg' print (mystring \([3: 1)\)
Short Answer
Expert verified
```python
mystring = 'abcdefg'
print(mystring[3:])
```
Answer: The output of the given code will be 'defg'.