Which of the following statements returns the number of blan
Which of the following statements returns the number of blank spaces contained in the string sentence?
sentence.count(\" \")
\" \" in sentence
sentence.find(\" \")
count(sentence)
B)..AA-se… the 0 0 0 0Solution
sentence.count(\" \") returns the no. of blank space in a sentence.
whereas \" \" in sentence returns a bool value saying whether there exists a blank space in sentence or not
sentense.find(\" \") returns the index of 1st blank space
count(sentence) is undefined

