Do not spam
str = "fun with Python"
a) str[:6:2]
b) str[-1:-8:-2]
Answers
Answered by
3
Answer:
a) str[:6:2]
'fnw'
b) str[-1:-8:-2]
'nhy '
✨
Answered by
3
Correcting it a bit to :
a)
b)
The output should be:
a) fnw
b) nhy
Similar questions