File Python Write Is Making Unwanted Spaces Between Lines Stack

File Python Write Is Making Unwanted Spaces Between Lines Stack