0
Every time i try to add or to subtract or anything it says no output
6 Réponses
+ 1
Then please try writing print (2+2) and then hit run. You see when you write 2+2 and hit run then the operation takes place but there is no output because the code never said to output the answer. So, using the print method, you can tell the compiler to add 2 and 2 and then print out the answer.
0
Please Omar, give us an example.
0
i write 2+2 or 4/2 then hit run and it says no output
0
I agree a proper example would be good. But did you write print (2+2)? Make sure you did that otherwise there won't be a output while using the compiler.
0
no i didnt write print
0
it worked thank you so much