Saved Bookmarks
| 1. |
What is an expression and a statement in python? |
|
Answer» Answer: A statement is a complete line of CODE that performs some action, while an expression is any section of the code that evaluates to a value. ... That PRINT is a statement is one of many warts in the Python 2 language that's CORRECTED in Python 3. Now print is a NORMAL function that can be used in an expression |
|