Exercises
We'll cover the following
Exercise 1
Implement the total_length
function by using the len
method on a string literal to compute the combined length of the two strings "Hello"
and "World"
. Try it out with "Hi"
and "Educative"
too.