0
how to write it
i mean we have to Type 2+2 and then 4 appears or what
3 Respostas
+ 1
no, this works not in the playground. Here you have to use the print function to get an output.
print (2+2)
+ 1
no, we have to assign 2+2 to a variable then print it
ex. var= 2+2
print (var)
0
If you want an output of 2+2 then you may want to use the print() function. The operation however should still be carried out, but you still have to express what you want to do with a statement.