Question: Given the following function definition: def string_length(s): What does this function do? string_length = 0 for c in s: string_length += 1 return string_length What

Given the following function definition: def string_length(s): What does this function do? string_length = 0 for c in s: string_length += 1 return string_length What would be the return value of the following function call? string_length("ovoviviparous") 13 o "ovoviviparous" Co None
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
