Computer Science, asked by suruthi227, 1 month ago

What will be the output of print str[2:5] if str='hello world!?​

Answers

Answered by jessica1234657
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