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.
Access this course and 1400+ top-rated courses and projects.