What will be the output of print str[2:5] if str='hello world!?
Answers
Answered by
4
Explanation:
It will print characters starting from 3rd to 5th. Output would be llo. ... It will print characters starting from 3rd character.
hope it is helpful for u❤️
Similar questions