What are strings?

352 views

There is a recent tweet in which a lady said 1+2=12.

Obviously that is wrong but everyone keeps saying “it’s wrong unless we are talking about strings”

What are strings?

Edit: thank you all for explaining:) have a cookie 🍪 and a wonderful day

In: 6

10 Answers

Anonymous 0 Comments

If you want to visualize it, imagine a piece of string of indeterminate length. Suspend it in the air so you can hang things on it.

To begin with, it is an empty string, or “”.

Then you thread a 2 onto it, and you’ve got a string of “2”.

Now you “add” a 1 by threading it on to the front of the string (or you could have started with the 1 and threaded the 2 onto the end of the string). Since you’ve added both letters to the string, the string now contains “12”.

You are viewing 1 out of 10 answers, click here to view all answers.