I have a .txt file with some words in it like "example". I also have the following code would be:
Name = open("file.txt", "r")
print(name.read())
print("text")
input()
Why is there a whitespace in the output like
"example
text"
And how do I stop that from happening?