Python Question / Quiz; What is the output of the following Python code, and why? 🤔🚀 Comment your answers below! 👇 #python #programming #developer #morioh #programmer #coding #coder #webdeveloper #webdevelopment #pythonprogramming #pythonquiz #machinelearning
31
9
88
8K
13
Download Image
@Python_Dv # c) 5 Reason: Line 3: The extend() method adds the specified list elements to the end of the current list. Line 4: The len() function returns the number of items in list - a = [1, 2, 3, 4, 5]. Output: 5