---
title: "Hey, if pi == 3, and three == 0, does that make pi == 0? :-) — Larry Wall Quote #168 | QuotesBy.net"
description: "Hey, if pi == 3, and three == 0, does that make pi == 0? :-) — a quote by Larry Wall."
image: "https://quotesby.net/wp-content/themes/quotesby-editorial/assets/og-default.png"
---

> # Hey, if pi == 3, and three == 0, does that make pi == 0? :-)

[Larry Wall](https://quotesby.net/Larry-Wall)\#168

[Humor](https://quotesby.net/Larry-Wall/humor/)[Logic](https://quotesby.net/Larry-Wall/logic/)[Math](https://quotesby.net/topics/math/)[Mathematics](https://quotesby.net/topics/mathematics/)

[WhatsApp (opens in a new tab)](https://wa.me/?text=%E2%80%9CHey%2C%20if%20pi%20%3D%3D%203%2C%20and%20three%20%3D%3D%200%2C%20does%20that%20make%20pi%20%3D%3D%200%3F%20%3A-%29%E2%80%9D%20%E2%80%94%20Larry%20Wall%20https%3A%2F%2Fquotesby.net%2FLarry-Wall%2F168%2F)[X (opens in a new tab)](https://twitter.com/intent/tweet?text=%E2%80%9CHey%2C%20if%20pi%20%3D%3D%203%2C%20and%20three%20%3D%3D%200%2C%20does%20that%20make%20pi%20%3D%3D%200%3F%20%3A-%29%E2%80%9D%20%E2%80%94%20Larry%20Wall&url=https%3A%2F%2Fquotesby.net%2FLarry-Wall%2F168%2F)[Facebook (opens in a new tab)](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fquotesby.net%2FLarry-Wall%2F168%2F)

## About this quote

What does it mean?A humorous conditional question asks whether pi equals zero if pi equals three and three equals zero.In plain termsIf pi=3 and 3=0, does pi become 0?What can you take from it?Logical equivalence depends on consistent definitions.

### Where it applies

- teaching logic
- debugging code

### Putting it to work

- check assumptions
- use clear variable names

### Questions to consider

- How do false premises affect conclusions?
- Why is clear naming important in code?

### Another view

The joke relies on nonsensical premises, not a real logical issue.

## More from Larry Wall

1. > Perhaps they will have to outlaw sending random lists of words. fee fie foe foo

[Permalink to quote \#167](https://quotesby.net/Larry-Wall/167/ "Permalink to quote 167")
2. > (Never thought I'd be telling Malcolm and Ilya the same thing... :-)

[Permalink to quote \#169](https://quotesby.net/Larry-Wall/169/ "Permalink to quote 169")
3. > Boss: You forgot to assign the result of your map! Hacker: Dang, I'm always forgetting my assignations... Boss: And what's that 'goto' doing there?!? Hacker: E…

[Permalink to quote \#166](https://quotesby.net/Larry-Wall/166/ "Permalink to quote 166")

## Related quotes

1. > Mathematical reasoning may be regarded rather schematically as the exercise of a combination of two facilities, which we may call intuition and ingenuity. The …

[Alan Turing](https://quotesby.net/Alan-Turing)[Alan Turing quote \#1](https://quotesby.net/Alan-Turing/1/ "Permalink to quote 1")
2. > Bear in mind the simple rule, X squared to the power of two minus five over the seven point eight three times nineteen is approximately equal to the cube root …

[Eric Idle](https://quotesby.net/Eric-Idle)[Eric Idle quote \#7](https://quotesby.net/Eric-Idle/7/ "Permalink to quote 7")
3. > We used to think that if we knew one, we knew two, because one and one are two. We are finding that we must learn a great deal more about 'and'.

[Arthur Stanley Eddington](https://quotesby.net/Arthur-Stanley-Eddington)[Arthur Stanley Eddington quote \#8](https://quotesby.net/Arthur-Stanley-Eddington/8/ "Permalink to quote 8")

```json
{
    "@context": "https://schema.org",
    "@type": "Quotation",
    "text": "Hey, if pi == 3, and three == 0, does that make pi == 0? :-)",
    "url": "https://quotesby.net/Larry-Wall/168/",
    "spokenByCharacter": {
        "@type": "Person",
        "name": "Larry Wall"
    }
}
{
    "@context": "https://schema.org",
    "@type": "BreadcrumbList",
    "itemListElement": [
        {
            "@type": "ListItem",
            "position": 1,
            "name": "Home",
            "item": "https://quotesby.net/"
        },
        {
            "@type": "ListItem",
            "position": 2,
            "name": "Authors",
            "item": "https://quotesby.net/authors/"
        },
        {
            "@type": "ListItem",
            "position": 3,
            "name": "Larry Wall",
            "item": "https://quotesby.net/Larry-Wall"
        },
        {
            "@type": "ListItem",
            "position": 4,
            "name": "Quote #168",
            "item": "https://quotesby.net/Larry-Wall/168/"
        }
    ]
}
```
