What will be the output of the following Python function? len([“hello”,2, 4, 6])

Questions & AnswersCategory: Programming LanguageWhat will be the output of the following Python function? len([“hello”,2, 4, 6])
1 Answers
Geek Boy Staff answered 2 years ago

c. 4
Explanation: The function len() returns the length of the number of elements in the iterable. Therefore the output of the function shown above is 4.