• Kursy
  • Kompilator kodu
  • Dyskusja
  • Cennik
  • Zespoły
Menu
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 Odpowiedź
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

Często masz takie pytania?

Ucz się bardziej efektywnie, za darmo:

  • Wprowadzenie do Pythona

    7.1M uczących się

  • Wprowadzenie do Java

    4.7M uczących się

  • Wprowadzenie do C

    1.5M uczących się

  • Wprowadzenie do HTML

    7.5M uczących się

Zobacz wszystkie kursy
Popularne dzisiaj
Java certification
1 Votes
Game dev
0 Votes
Question is about for loops and range
0 Votes
Beginner in coding and game development – where should I start?
0 Votes
Coding to automate word documents for technical specifications
1 Votes
I can't understand the bug
0 Votes
I have completed 39 courses and now I can't find any other course without those 39 couses what can I do
0 Votes
Error with code
0 Votes
What is <p>
1 Votes
Guys I'm a newcomer
1 Votes