Imgflip Logo Icon
1 + 1 = 11; 2 IS INCORRECT | image tagged in imgflip users | made w/ Imgflip meme maker
104 views 1 upvote Made by anonymous 4 years ago in fun
1 Comment
[deleted]
1 up, 4y
It can be either 2 or 11.

Besides, I can read strings, integers, floats, and possibly doubles.
Like, let’s say,

print(1 + 1)

This will give us 2. Since 1 is an integer, and the other 1 is an integer, the result is an integer, a 2.

print(1 + 1.0)

This can possible give us 2.0, because we’re adding an integer with a float.

print(“1” + “1”)

That will give us 11, because both 1s in the example are strings.

Pretty sure this will help...
Created with the Imgflip Meme Generator
IMAGE DESCRIPTION:
1 + 1 = 11; 2 IS INCORRECT