Courses
Log inStart Learning AI
Courses
Log inStart Learning AI
0

Which of the expressions is not valid in python?

True While False: break x = ‘129 * 5’ + ‘3x-seventeen’ when 3 > 1: print (“foo”)

pythonmultiplequestionhelpwhynotchoiceexamexpressionvalid
30th Nov 2018, 5:12 PM
Elis Belen
1 Answer
0
there is no 'when' keyword in python https://docs.python.org/3.7/reference/lexical_analysis.html#keywords https://docs.python.org/3/genindex-all.html#W you can use if instead
1st Dec 2018, 4:39 PM
zemiak

Often have questions like this?

Learn more efficiently, for free:

  • Introduction to Python

    7.1M learners

  • Introduction to Java

    4.7M learners

  • Introduction to C

    1.5M learners

  • Introduction to HTML

    7.5M learners

See all courses
Hot today
I have finished first in Saturn League 3 times in a row, why have I not been given the badge for “Intergalactic Champion”
3 Votes
I am new
1 Votes
Changing String Variables into int in C++
0 Votes
Python intermediate help with dictionaries
0 Votes
Advertising in Sololearn
1 Votes
Fill in the blank to declare a static variable.
0 Votes
Marquee
1 Votes
RUST'S FUTURE
1 Votes
Any Advise?
1 Votes
Popsacles Aufgabe
1 Votes