Which of the following functions will return the first three characters of a string named 's'?
s[:3]
Reason — The slice s[:3] returns the first three characters of the string s. The slice starts from the beginning (index 0) up to index 2.
s