What is false? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What is false?

Simple Input 2 Simple Input 8 Simple output 10 print(2 + 8) The program say: Input 3 Input 6 Output 9???!!! What is false???

25th Oct 2020, 12:32 PM
Natalie Liebl
Natalie Liebl - avatar
5 Answers
+ 3
[No Name] , if you really like to get help, you should post your code here. The description you posted is not sufficient to give you support. Thanks!
25th Oct 2020, 2:34 PM
Lothar
Lothar - avatar
+ 3
Nordlicht , when your code is just a few lines, you can include it in the post. All the other codes should be put in playground and saved there. Then you can add this code to your post by using the "+" sign with the cirle around, and select "Insert code". There you will see all codes from all participants and all languages. Select the filter for language , and also set the other filter to "My codebits". Select the desired code and confirm this.
26th Oct 2020, 12:54 PM
Lothar
Lothar - avatar
+ 2
What do you mean?can you describe in detail what you mean by "what is false"?
25th Oct 2020, 12:41 PM
Abhay
Abhay - avatar
+ 1
I try it in the "simple calculator" on the python course. The question: Write a program to take two integers as input and output their sum. Sample Input: 2 8 Sample Output: 10 ******* My input: print(2 + 8) ******* Result Input 6 3 Your Output 10 Expectet output 9 Why the program write "6" and "3", I don't took this numbers in my code?! The program said my Code is false.
25th Oct 2020, 12:53 PM
Natalie Liebl
Natalie Liebl - avatar
+ 1
Oh sorry, how i can post the code?! Thanks for the answer.
26th Oct 2020, 11:16 AM
Natalie Liebl
Natalie Liebl - avatar