File size: 220 Bytes
1739591
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
# Open and read the file
with open('../section_files/section_4.txt', 'r', encoding='utf-8') as f:
    content = f.read()

# Count characters
num_characters = len(content)

print(f"Number of characters: {num_characters}")