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 To Calculate The Grade Of A Student

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