Math, asked by Anonymous, 9 months ago

Q. Write a program that reads a line, counts the words and then displays how many words are there in the line?

Note - use python coding to answer

n refrain urself from googling it!! ​

Answers

Answered by Aravinda02
23

Answer:

hi

Step-by-step explanation:

coding:

sent=raw_input("ENTER THE SENTENCE")

count=len(sent.split())

print("no of words="+ str(res))

since you don't need the explanation I have provided just the code.....

HOPE THIS HELPS

MARK ME BRAINLIEST

Similar questions