What will be the output of the following Python code snippet? STR = "It is…
PYQ EMRS TGT/PGT (ESSE) 2025
What will be the output of the following Python code snippet?
STR = "It is still a test"
print(STR.split('t', 3))
- A.
['I', ' is s', 'ill a test']
- B.
['I', ' is s', 'ill a ', 'es']
- C.
['I', ' is s', 'ill a ', 'est']
- D.
['I', ' is s', 'ill a ', 'es', '']
Attempted by 466 students.
Sign up free to check your answer
Sign up freeLoading lesson…

