About 64,600,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 only None can …

  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 of None to a …

  4. Python None: The Standard for Missing or Empty Values

    Nov 10, 2025 · Learn how Python’s None object represents the absence of a value. Discover its internal design, common use cases, best practices, and how it compares with null in other languages.

  5. Python None Keyword - GeeksforGeeks

    Jul 23, 2025 · None is used to define a null value or Null object in Python. It is not the same as an empty string, a False, or a zero. It is a data type of the class NoneType object. Python None is the function …

  6. 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 or when a …

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

    Feb 15, 2025 · Learn what None means in Python, its use cases, and how to handle it effectively. Perfect for beginners exploring Python's null equivalent.

  8. None in Python - Python Morsels

    Jan 22, 2024 · None is the default return value of a function in Python, and it's often used to represent something that's missing or has no value yet. It's common to use falsiness checks when looking for …

  9. Python None Keyword - ZetCode

    Feb 25, 2025 · Python tutorial on the None keyword, covering null values, function returns, and practical usage examples.

  10. How to Handle None and Set Default Values in Python | Tutorial …

    It's common to need to provide a default value when a variable might be None. This guide explores various methods for handling this, including conditional expressions (the ternary operator), the or …