For my python homework assignment, The program asks the user for three strings and prints the average length of the strings entered

My code:

```
name1 = input ("enter first string: ")
name2 = input ("enter second string: ")
name3 = input ("enter third string: ")

total_strings = (name1.split()) + (name2.split()) + (name3.split()) 

average =( len(name1) + len(name2) + len(name3) )/len(total_strings)

print("the average length is: " + str(average))

```

---

So when I try it out the math gets a bit wierd. 

input:

> 
> a ajhs jah sjajsh jahs jah jah jsh as
> 
> 
> ajs jahjah sjhajsh jahs jah sjah jsh ajs
> 
> 
> ajs ajhs jah sjahs jah sjah sjah jsh ajhs jah s
> 
> 
> 

===== Test failed here=====

> 
> enter first string: enter second string: enter third string: the
>  average length is: 4.428571428571429
> 
> 
> 

---

expected output:

---

> 
> enter first string: enter second string: enter third string: the
>  average length is: 41.33
> 
> 
>