[Tutor] difference between expressions and statements
nielsen.jared at gmail.com
Wed Apr 9 18:49:27 CEST 2014
Could someone explain the difference between expressions and statements?
I know that expressions are statements that produce a value.
I'm unclear on functions and especially strings.
Are any of the following expressions?
spam = 42
Is the first example producing a value or simply displaying an integer?
Does a string count as a value?
Is a variable assignment considered a value?
If I print a variable is that considered production of a value?
More information about the Tutor