About 7,110,000 results
Open links in new tab
  1. Python None Keyword - W3Schools

    Definition and Usage The None keyword is used to define a null value, or no value at all. None is not the same as 0, False, or an empty string. None is a data type of its own (NoneType) and …

  2. Python None

    In this tutorial, you'll learn about Python None and how to use it properly in your code.

  3. python - What is a None value? - Stack Overflow

    Oct 20, 2013 · Martijn's answer explains what None is in Python, and correctly states that the book is misleading. Since Python programmers as a rule would never say. Assigning a value …

  4. None | Python Keywords – Real Python

    In Python, the None keyword represents the absence of a value or a null value. It’s an object that serves as a placeholder when you need to specify that a variable doesn’t hold any valid data …

  5. What is the difference between "is None" and "== None"?

    Nov 19, 2024 · This is an identity check that verifies whether the object itself is exactly None (not just equal in value). In Python, None is a singleton, meaning there is only one None object in …

  6. How to Check if a Variable is None in Python?

    Sep 30, 2025 · Learn five simple Python methods to check if a variable is None. Step-by-step examples with code and explanations to help you write clean, bug-free Python code.

  7. Understanding None in Python: Equivalent of Null - PyTutorial

    Feb 15, 2025 · In Python, None is a special constant used to represent the absence of a value or a null value. It is often used as a placeholder or default value in functions, variables, and data …

  8. Understanding and Working with `None` in Python - CodeRivers

    Jan 26, 2025 · Understanding `None` is essential for writing clean, efficient, and bug - free Python code. This blog post will explore the fundamental concepts of `None`, its usage methods, …

  9. Understanding None in Python: Usage, Differences from Null, and …

    Sep 3, 2025 · Learn what None means in Python, how it differs from null in other languages, and best practices for using it in functions, classes, and error handling. Improve your Python …

  10. Python None Keyword - Online Tutorials Library

    The Python None keyword is used to define a null value or no value at all. It is not the same as an empty string, a False or a zero. It comes under the class NoneType object. It is a case …