Курсы
ВойтиНачать изучение ИИ
Курсы
ВойтиНачать изучение ИИ
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 ответ
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

Часто задают такие вопросы?

Учитесь эффективнее, бесплатно:

  • Введение в Python

    7.1M учащихся

  • Введение в Java

    4.7M учащихся

  • Введение в C

    1.5M учащихся

  • Введение в HTML

    7.5M учащихся

Смотреть все курсы
Актуальное сегодня
Ai generated practices
2 Votes
I have finished first in Saturn League 3 times in a row, why have I not been given the badge for “Intergalactic Champion”
1 Votes
Solving coding challenges
2 Votes
Changing String Variables into int in C++
0 Votes
I am new
1 Votes
Fill in the blank to declare a static variable.
0 Votes
Advertising in Sololearn
0 Votes
Programming Language
0 Votes
RUST'S FUTURE
1 Votes
What are the advantages and disadvantages of using let vs var when declaring variables in JavaScript?
0 Votes