I am a beginner in python ,I came across a problem in understanding count fun in python.
txt = "hi"
x = txt.count("")
y = len(txt)
print("output for fun count",x)
print("output for fun len" , y)
The output for count is 3,Friends let know why I got the answer 3,how does it ended up with that value.