Meta interview question

write a python program to count words?

Interview Answer

Anonymous

22 Aug 2020

sentence = "I am an engineer" sentenceList = sentence.split(sep=" ") print(len(sentenceList))

2