文件a.txt中的内容如图所示:
执行如下Python代码,输出的结果是?( )
s=0
with open('a.txt') as f:
a=f.readlines()
for i in a:
if len(i)>3:
s+=1
print(s)
1
2
3
4