Q14Numerical3 Marks7 Aug 2022
Consider the following text file names.txt:
```
atul
bhaskar
dhanya
omkar
ram
karthik
subhajit
mayur
nitin
nikita
```
What is the output of the following snippet of code?
```
fh = open('names.txt', 'r')
count = 0
for line in fh:
name = line.strip()
if len(name) < 6:
count += 1
fh.close()
print(count)
```
Press Enter to check.