Program to detect how much double spaces you made in your program

 st = "This is a string with double  spaces"


doubleSpaces = st.find("  ")
print(doubleSpaces)
.find is an function for string