1+2+3=5 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 8

1+2+3=5

I am answering the question with "5" but it says incorrect, pwes help

15th Sep 2017, 11:36 AM
Millions Petrosyan
Millions Petrosyan - avatar
18 Answers
+ 15
Your math is bad
15th Sep 2017, 11:43 AM
👑 Prometheus 🇸🇬
👑 Prometheus 🇸🇬 - avatar
+ 13
1+2+3 == 6
15th Sep 2017, 11:38 AM
Baptiste E. Prunier
Baptiste E. Prunier - avatar
+ 13
=begin 1 + 2 + 3 = 5 i can prove it check the output of the code =end #here this way in ruby you will get your answer okay = (1 + 2 + 3).pred puts "1 + 2 + 3 = #{okay}"
15th Sep 2017, 1:32 PM
Lord Krishna
Lord Krishna - avatar
+ 10
the answer is 6
15th Sep 2017, 11:38 AM
johan beimers
johan beimers - avatar
+ 9
lol 😹
15th Sep 2017, 12:58 PM
Manual
Manual - avatar
+ 9
@vito it's 5 his not wrong check my program run it in ruby you get 5!
16th Sep 2017, 6:58 AM
Lord Krishna
Lord Krishna - avatar
+ 9
I think that's a bit too harsh there😮...........
16th Sep 2017, 9:43 AM
Poet🎭
Poet🎭 - avatar
+ 9
😨
19th Sep 2017, 10:16 AM
Changed
Changed - avatar
15th Sep 2017, 1:04 PM
Manual
Manual - avatar
+ 7
I will fix it. int n = 0; int x; x = 2 + 3 + n++; 😺
15th Sep 2017, 1:01 PM
Manual
Manual - avatar
+ 6
really?
15th Sep 2017, 12:12 PM
Mohammed Sska
Mohammed Sska - avatar
+ 6
I figured out how it is (+_+) in Ruby. Don't know about Python. if 1 + 2 + 3 # = 5 puts "ok" end
15th Sep 2017, 1:17 PM
Ekansh
+ 6
lol
16th Sep 2017, 6:56 AM
Poet🎭
Poet🎭 - avatar
+ 6
The answer is 6 dude.
16th Sep 2017, 6:56 AM
Poet🎭
Poet🎭 - avatar
+ 5
Bruh...
15th Sep 2017, 12:31 PM
MoonYo
MoonYo - avatar
+ 4
😂
15th Sep 2017, 12:07 PM
sayan chandra
sayan chandra - avatar
+ 1
😂✌
15th Sep 2017, 1:06 PM
sayan chandra
sayan chandra - avatar
- 7
I thought this was some bug in some playground, and I see that there's a bug in his brain... Your math is damn bad. 😂😂😂😂😂😂😂😂😂
16th Sep 2017, 9:21 AM
Dragon Slayer Xavier
Dragon Slayer Xavier - avatar