0
What is the output of print str[2:5] if str = 'Hello World!'?

Open 1 Answers 216 Views Technology

What is the output of print str[2:5] if str = 'Hello World!'?

1 Answer

0

It will print characters starting from 3rd to 5th. Output would be llo.

by (274k points)
...