Read the specific length of characters in a text file using the read() function
# Program to read the specific length
# of characters in a file using read() function
file = open("python.txt", "r")
content = file.read(20)
print(content)
file.close()