Monty @ The Python Coding Place @thepythoncodingplace.com · Nov 20

Here's a snippet of Python knowledge that unlocks so much when learning Python: What's the difference between a statement and an expression? And why does it matter? Let's explore: /1

0 likes 1 replies

?

Replies

Monty @ The Python Coding Place · Nov 20

Every combination of words and symbols is a statement. Of course, it needs to be a valid statement to make sense… Some statements evaluate to a value (that's why we use the term "evaluate", I suppose!) These are expressions. /2