Select the correct output of the given Python code from the following options:…
PYQ KVS TGT/PGT 2023
Select the correct output of the given Python code from the following options:
S='INDIAN'
L=S.Partition('N')
NS=L[0]+'-'+L[1]+'-'+L[2]
print (NS)
- A.
I-N-DIA-N-
- B.
I-DIA-
- C.
I-DIAN
- D.
I-N-DIAN
Attempted by 1410 students.
Sign up free to check your answer
Sign up freeLoading lesson…

