+ 2
What is differnce between expression and statement?
2 Answers
+ 4
Statements represent an action or command e.g print statements, assignment statements.
print 'hello', x = 1
Expression is a combination of variables, operations and values that yields a result value.
5 * 5 # yields 25
Lastly, expression statements
print 5*5
For details:
https://stackoverflow.com/questions/4728073/what-is-the-difference-between-an-expression-and-a-statement-in-JUMP_LINK__&&__python__&&__JUMP_LINK
+ 1
what is ... questions are a good candidate for a google search:
https://fsharpforfunandprofit.com/posts/expressions-vs-statements/