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
18 Answers
+ 15
Your math is bad
+ 13
1+2+3 == 6
+ 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}"
+ 10
the answer is 6
+ 9
lol
😹
+ 9
@vito it's 5 his not wrong check my program run it in ruby you get 5!
+ 9
I think that's a bit too harsh there😮...........
+ 9
😨
+ 8
Here is the code
https://code.sololearn.com/cA2Y4391E3bD/?ref=app
+ 7
I will fix it.
int n = 0;
int x;
x = 2 + 3 + n++;
😺
+ 6
really?
+ 6
I figured out how it is (+_+) in Ruby. Don't know about Python.
if 1 + 2 + 3 # = 5
puts "ok"
end
+ 6
lol
+ 6
The answer is 6 dude.
+ 5
Bruh...
+ 4
😂
+ 1
😂✌
- 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.
😂😂😂😂😂😂😂😂😂