Posts

Showing posts with the label Questions

Let’s discuss some Interesting questions regarding python

Image
  Python  is an interpreted, high-level and general-purpose programming language. Python’s design philosophy emphasizes code readability with its notable use of significant whitespace. Its language constructs and object-oriented approach aim to help programmers write clear, logical code for small and large-scale projects. Python is dynamically typed and garbage-collected. It supports multiple programming paradigms, including structured (particularly, procedural), object-oriented, and functional programming. Python is often described as a “batteries included” language due to its comprehensive standard library. In this article, I will answer some common and interesting question → Is Python interpreted or compiled? Are there ways to compile the code? → Which is faster in python — Searching in a list or a dictionary. And why? → How can we get the code of a python object? → What are the ways to make python code work faster? → What is the exec function and how we can use it? → What ...