Iterate over words of a String in Python
String In Python, strings are used to represent data which is in the form of characters, numbers, and symbols. The string is a collection of data that is represented in single(”) or double quotes(“”).To strings we can say array like other programming languages. Examples: str=”hello” str1=”helloo123″ str2=”Namaste@ india” In above examples we show different types …