Skip to main content

Posts

Showing posts with the label 100 interview question and answer

python basic and advance 100 interview question and answer

  1. What is Python? Python is a high-level, interpreted programming language known for its readability and simplicity. It supports multiple programming paradigms, including procedural, object-oriented, and functional programming. 2. What are Python’s key features? Easy to learn and use Interpreted language Dynamically typed Extensive libraries Support for object-oriented programming 3. What is PEP 8? PEP 8 is the Python Enhancement Proposal that provides guidelines and best practices on how to write Python code. It emphasizes readability and consistency. 4. How is memory managed in Python? Memory management in Python is handled by the Python memory manager, which includes a private heap containing all Python objects and data structures. Python also has an inbuilt garbage collector that recycles all unused memory. 5. What are lists and tuples? Lists  are mutable, ordered collections that can contain elements of different types. Tuples  are immutable, ordered collections t...