Write the output of the following:
>>> str1 = 'India is a Great is Country'
>>> str1.partition('is')1.(‘India ‘, ‘is’, ‘ a Great is Country’)
2.(‘India ‘, ‘is’, ‘a Great’, ‘is’, ‘Country’)
3.(‘India ‘, ‘is’, ‘ a Great Country’)
4.Error
Answer:1
Posted Date:-2021-12-11 12:37:39