Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

bool Data Type:

Vinay Rawal answered on September 12, 2022 Popularity 8/10 Helpfulness 1/10

Contents


More Related Answers

  • Java boolean data type
  • data type
  • set Data Type:
  • data types
  • sql boolean data type
  • data type
  • dtype cannot be bool python
  • boolean type
  • data types
  • data-types
  • data-types
  • data-types
  • data-types
  • data-types
  • data type

  • bool Data Type:

    0

     We can use this data type to represent boolean values.  The only allowed values for this data type are:  True and False

     Internally Python represents True as 1 and False as 0

    b = True type(b) bool

    Eg: a = 10 b = 20 c = a

    True+True  2 True-False  1 

    Popularity 8/10 Helpfulness 1/10 Language whatever
    Source: Grepper
    Tags: whatever
    Link to this answer
    Share Copy Link
    Contributed on Apr 01 2023
    Vinay Rawal
    0 Answers  Avg Quality 2/10

    Closely Related Answers



    -1
    Popularity 9/10 Helpfulness 1/10 Language javascript
    Source: Grepper
    Tags: boolean
    Link to this answer
    Share Copy Link
    Contributed on Sep 12 2022
    Umar code solver
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.