आउटपुट क्या होगा >>>"abcd"[2:]
What will be the output >>>"abcd"[2:]
A)
B)
C)
D)
Explanation:
The slice "abcd"[2:]
starts from index 2 and includes everything after it, which is "cd"
.
Answer: (C) cd