Saved Bookmarks
| 1. |
Write a program to input any string and to find the number of words in the string. |
|
Answer» str = “Honesty is the best policy” words = str.split() print len(words) |
|