📄 Abstract
The purpose of this study was to examine two different methods for extending lists within Python. The first method consists of creating our own custom list extend () method while the second relies on Python's built in extend () method. For each method we executed both custom and built in extensions with varying input sizes and recorded how much time and memory was utilized for each type of extension. After the execution we utilized asymptotic notation such as Big O to compare time and memory consumption for both extensions. The results showed clearly that the built in extension () method was faster than the custom extension () method while also utilizing significantly less memory overall. A detailed explanation for why these results occur is provided along with a clear visual representation of the two extending methods and their time and memory consumption rates.
🏷️ Keywords
📚 How to Cite:
Arjith T, M Athithan , IMPLEMENTATION OF list_extend() FUNCTION AND ANALYSIS OF LIST EXTENSION USING extend() METHOD IN PYTHON. FURTHER EXAMINING THE TIME COMPLEXITY AND SPACE COMPLEXITY OF BOTH METHODOLOGIES USING ASYMPTOTIC NOTATION-A CASE STUDY , Volume 11 , Issue 6, June 2026, EPRA International Journal of Research & Development (IJRD) , Pages: 498 - 502 ,