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

    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 be None.

  2. Python None Keyword - GeeksforGeeks

    Apr 26, 2023 · 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.

  3. 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 structures. Unlike other programming languages that use null, Python uses None to signify "nothing" or "no value here."

  4. Python None

    Summary: in this tutorial, you’ll learn about Python None and how to use it properly in your code. In Python, None is a special object of the NoneType class. To use the None value, you specify the None as follows: If you use the type() function to check the type of the None value, you’ll get NoneType class: Try it. Output:

  5. Null in Python - GeeksforGeeks

    Apr 9, 2025 · In Python, None represents the absence of a value and is the only instance of the NoneType. It's often used as a placeholder for variables that don't hold meaningful data yet. Unlike 0, "", or [], which are actual values, None specifically means "no value" or "nothing." Example: Python

  6. Python NONE – All You Need To Know About the NONE Object

    Jun 27, 2020 · In this article, we will be focusing on Python NONE keyword. Python NONE is an object in the world of Python – Object-Oriented Programming. You can think of it as ‘NULL’ value in other programming languages such as PHP, JAVA, etc.

  7. 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 None values.

  8. 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 function doesn’t return any value.

  9. Python None Keyword - Tutorial Kart

    In Python, the None keyword is used to represent the absence of a value or a null value. It is a special constant in Python and is often used when a variable has no value assigned to it. None is not the same as 0, False, or an empty string (""). It is an object of its own datatype: NoneType.

  10. Python's null equivalent: None - Python Central

    A look at Python's equivalent to the null keyword, used in some other languages. We show you how it works, and how to check if a variable is None.

Refresh