Om Pawaskarcuriousindian958.hashnode.dev·Apr 21, 2024Python InternalsWhen we create a variable in Python and assign some data to it an object of the data gets created in memory and the variable points to it. So when we assign the same data value to another variable it references the same data. (Everything in Py is an ...Python memory
Jeevant Singhsloththelazywritesblogs.hashnode.dev·Feb 1, 2024Unravelling Python's Enchanting Spell: From Your Thoughts to ActionEver marvelled at the enchanting dance of your Python script coming to life? Fear not, intrepid coder, as we embark on an illuminating journey into the heart of Python's wizardry, demystifying the intricacies that make it both powerful and user-frien...Python
Amrutha Damruthadronamraju.hashnode.dev·Oct 26, 2023Ruby Vs PythonRuby Vs Python: What are the Differences? comparison of the differences between the Ruby and Python programming languages. The provided information lists key differences between the two languages, including their support for inheritance, primary usa...Python/Linux Interview Q/ARuby
Amrutha Damruthadronamraju.hashnode.dev·Sep 29, 2023Python Interview Q/ABasics of Python: What is Python? Python is a general-purpose interpreted, interactive, object-oriented, and high-level programming language used for various purposes, including web development, software development, mathematics operations, and more...Python/Linux Interview Q/APython
Arunesh kumarkingarunesh.hashnode.dev·Feb 14, 2023How to swap two variables value in python?For example, If you have a equal to 1 and b equal to 2 then get output a equal to 2 and b equal to 1. First create c variable then set c equal to a, a equal to b and b equal to c. Here is code, a = 1 b = 2 print("OLD a = ",a) print("OLD b = ",b) c ...76 readsPython
lumungelinuxnotes.hashnode.dev·Aug 29, 2022Python Multiple Choice Questions - Part 1In this article, we test our Python programming knowledge by going over 50 Multiple choice questions. 1. What is the output of the code; >>> str = "linux" >>> str[:3] >>> (a) linux (b) inu (c) lin (d) error Ans: (c) Explanation: The above code retur...34 readsPython