Python Fundamentals Quiz 5 Python Fundamentals Quiz 5 Welcome to the Python Fundamentals Quiz!Test your knowledge on Python basics with this quiz. Each question has four options, and only one of them is correct. Read carefully and select the correct answer. Good luck! 1 / 10 How do you define a function in Python? def function_name(): function function_name(): def function_name; create function function_name(): 2 / 10 Which of the following loops in Python is entry-controlled? while for Both A and B None 3 / 10 Which of the following operators is used for equality comparison in Python? = == != += 4 / 10 What is the result of the following expression?not True True False None Error 5 / 10 What is the output of the following code?print(type([1, 2, 3])) 6 / 10 Which of the following is NOT a Python keyword? if else eval for 7 / 10 What does the len() function do in Python? Counts the number of elements Returns the length of a string Counts the number of characters in a list All of the above 8 / 10 How do you create a tuple in Python? (1, 2, 3) [1, 2, 3] {1, 2, 3} 9 / 10 What is the output of the following code? print(len([1, 2, 3, 4])) 3 4 5 Error 10 / 10 How do you create a list in Python? [] {} () Your score isThe average score is 40% 0% Restart quiz