I pick up a rock, I have one rock. Pick up another, have two. Drop them, have none. Only started counting rocks when I picked up the first one. So, numbers start at one. — Zolenskify
An issue here is with the arbitrariness of what a rock consists of. — Vaskane
but a 0th rock does not exist — Zolenskify
"if I am a sea turtle, then I am Bill Gates (or [insert favorite billionaire])."
We certainly could make this argument, it's not wrong, but anyone who wishes to entertain this would be wasting time — Zolenskify
really take some time and educate yourself on the various domains, genus', orders, etc, of the species before jumping to any sort of conclusions here — Zolenskify
At any rate, I think it agreeable to say that we should come prepared for any sort of discussion, as to not waste time on preliminary information. Just a thought, it may serve you in the future. — Zolenskify
But if I steal your rock then we introduce a negative 1 to the equation... — Vaskane
I can't change your mind. I think it's too late. — Fire Ologist
rocks = 0 # beginning at 0 while rocks < 2: rocks += 1 print(rocks)
rocks = 1 # beginning at 1 while rocks < 2: rocks += 1 print(rocks)
"Counting" may start at 1. Numbers, however, do not "start" — 180 Proof
Only started counting rocks when I picked up the first one. So, numbers start at one. — Zolenskify
This is not to say I do not have an ego, I certainly do, but I can cope with being wrong at times in a much better way than others it seems. — Zolenskify
I was talking about the fact that the first unit ever made in a mind, so the first number ever counted, was a "1", and all units since then (yes units), were multiples and divisions of when we first started counting units of one. So quantification started long ago with a 1. 'Numbers start at one' would be a weird way to say it, but it reflects this sense of "start" and "numbers" and "1" I meant. — Fire Ologist
There is nothing correct or incorrect about the output, it is just the way you programmed it and how Python works. — Lionino
... are we strictly talking about igneous rocks, or do you prefer another type? — Zolenskify
rocks = 0 # beginning at 0 while rocks < 2: rocks += 1 print(rocks)
The first code example is the correct one for counting rocks. It initializes the variable "rocks" to 0 and then uses a while loop to increment the value of "rocks" until it reaches 2, printing the current value of "rocks" in each iteration. The output of this code is "1, 2." — punos
And the fact that one piece of code counts "correctly" and the other "incorrectly" (like ChatGPT says) begs the question as to why one is right and the other wrong, which is the thread's topic. — Lionino
...my legs are like works of art. — Zolenskify
The relevance lies in the logic, not the programming language. There is a right and a wrong way to count. When counting rocks, it is essential to establish whether there are already rocks present. If i have 2 rocks and then pick up and count another rock, i will have 3 rocks (the count begins at 2). Conversely, if i don't have any rocks and then pick up and count 1 rock, i will have just 1 rock (the count begins at 0). — punos
Get involved in philosophical discussions about knowledge, truth, language, consciousness, science, politics, religion, logic and mathematics, art, history, and lots more. No ads, no clutter, and very little agreement — just fascinating conversations.