Abu Precious O.btere.hashnode.dev·Oct 22, 2024Understanding TypeError: Using len() with Integers in PythonPython is a powerful language, but even seasoned developers can run into errors. One common mistake occurs when trying to use the len() function on an integer. In this post, we’ll explore why this happens and how to handle it. The len() function is u...Discusstypeerror
Arnav SinghforPython for Noobspythonfornoobs.hashnode.dev·Oct 7, 2024Python Programming Basics: Statements, Comments, and Data TypesWhen learning Python, understanding the core building blocks like statements, comments, variables, and data types is essential. These basics serve as the foundation for writing effective and efficient Python code. In this article, we’ll break down ea...Discuss·11 likesPython for NoobsPython-Statements
Archana Prustyarchana77.hashnode.dev·Sep 21, 2024Introduction To Program And Linux Commands For New ProgrammersProgram : Program is the combination of information & Operations/ instructions. Ex: x = 10 #information y = 20 # information res = x + y # operation print (res) #operation Classification of Program : Any program can be classified into TWO types : 1....DiscussPython basics
Debasmita Adhikaridebasmita-a.hashnode.dev·Aug 22, 2024Loop Control statements in Python : break, continue, passIn Python, we have 3 loop control statements : break, continue and pass. break When the condition satisfies, the loop breaks and comes out of the loop. for i in range(10): print(i) if i == 5: break # It will print : 0 to 5 and once t...DiscussPython basics
Nabaranjan palatasinghnabaranjan1.hashnode.dev·Aug 16, 2024Python Basics Part - 1I am writing this blog on Python basics and trying to give some practical examples. Here let's discuss Syntax, rules, syntax errors, and practical code examples. synatx:-In Python, the syntax is like the rules of grammar for the computer—it tells the...Discuss·11 likes·53 readsPython
Tarun Sharmatapstechie.hashnode.dev·Aug 11, 2024Mastering Exception Handling and Custom Exceptions in Python: A Comprehensive GuideException handling is a crucial aspect of writing robust and fault-tolerant Python code. It allows you to manage errors gracefully and ensure that your program can handle unexpected situations without crashing. This article will cover the basics of e...DiscussPython Interview Prep: Essential Concepts and Techniquesexceptionhandling
Tarun Sharmatapstechie.hashnode.dev·Aug 11, 2024Exploring the Basics of Python Modules and PackagesWhat Are Modules? A module is simply a file with Python code. It can contain functions, classes, and variables. Modules help organize code into manageable chunks. Creating a Module Let’s say you have a file named math_utils.py: # math_utils.py def a...DiscussPython Interview Prep: Essential Concepts and TechniquesPython
Sandhya Kondmarekloudsan.hashnode.dev·Aug 8, 2024Bitwise vs Logical Operators in Python: An Easy ExplanationIntroduction Python programming mein operators ek important role play karte hain. Yeh operators data ko manipulate karne ke liye use kiye jaate hain. Python mein mukhya do tarah ke operators hain: Bitwise Operators aur Logical Operators. Is blog post...DiscussBoolean vs Non-Boolean
Revanth kumar Bondadareventhkumarbondada.hashnode.dev·Jan 31, 2024Introduction to PythonDownload Python: Visit the official Python website and download the latest version of Python for your operating system (Windows, macOS, or Linux). Installation: Windows: Run the installer, select "Add Python to PATH", and follow the prompts. macOS/...Discusspython, simple-basics, basic-python, easy-code
Vismaya Prasadvismayaprasad.hashnode.dev·Sep 25, 2023Statements in PythonIn Python, statements are individual instructions or commands that the interpreter can execute. They are the basic building blocks of a program. Examples are : Assignment statement variable = value x = 5 Expression statement answer = 10 + 2 ...Discuss·47 readsTogether With PythonPython basics