logo
Search
showing results for - "difference between statement and expression"
Federica
23 Jun 2018
1>>> x + 2         # an expression
2>>> x = 1         # a statement 
3>>> y = x + 1     # a statement
4>>> print y       # a statement (in 2.x)
52
6
source
similar questions
difference between for of and for in statementexpression vs statement javascriptfunction expression vs function declaration
queries leading to this page
what is the difference between a statement and an expression in programmingdifference between value and expressiondifference statement and expressiondifference between an expression and a statementdifference expressions and statementsprogramming difference between statement and expressiondifference in statement and expressiondifference between statements and expressionswhat is difference between statement and expression in programmingdifference between statement and expressiondiff between expression and statementdifference between expressions and statementsdifference between expression and statementwhat 27s the difference a statement and an expressiondifference between expression and statement in programmingwhat is the difference between an expression and a statement 3fwhat is the difference between statement and expressiondifference between statement and expression
privacy policyterms of useinstagram
Crafted with  ♥  for everyone

sign in to continue
your answer for
you will get a confirmation link on this - you will have to click that for successful submission of your answer. we require this to keep the website free of spam, bots and unhelpful content
please ensure to add code which is syntactically corrent and executes properly
sign in to continue
ask question on maxinterview
you will get a confirmation link on this - you will have to click that for successful submission of your question. we require this to keep the website free of spam, bots and unhelpful content
please be clear, to the point and respectful
sign in to continue