DS160123 find out the ans of following

Date:- 20/02/2023
string = ‘abcderbct’
print(string.partition('bc"))
A) (‘a’,‘bc’,‘derbct’)
B) (‘a’.‘der’,‘t’)
C) (‘abc’,‘derbc’,‘t’)
D) (‘a’,‘bcder’,‘bct’)

1 Like

Answer is A.
Learnt new thing today. Thank you @sms18680

2 Likes

@kharshavardhan31
@sms18680
:+1: :+1:
keep learning

1 Like