Write A Python Program To Detect DoubleSpace In A String Enter By The User.

Write A  Python Program To Detect DoubleSpace In A String Enter By The User.









Code :

Str = input("Enter The Text :\n")

doubleSpaces = Str.find("  ")
print(doubleSpaces)

Output :






Download Source Code

Comments

Popular posts from this blog

Write A Python Program, Create n Empty Dictionary Allow 4 Friends To, Enter Their Favorite Programming Language As values and User Keys as their Name Assume That The Names Are Unique.

Write Python Program To Store Seven Fruits Name In a List Enter By The User