• Kurse
  • Code Compiler
  • Diskutieren
  • Preise
  • Teams
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 Antwort
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

Häufig solche Fragen?

Effizienter lernen, kostenlos:

  • Einführung in Python

    7.1M Lernende

  • Einführung in Java

    4.7M Lernende

  • Einführung in C

    1.5M Lernende

  • Einführung in HTML

    7.5M Lernende

Alle Kurse anzeigen
Heute heiß
Fix the following code
2 Votes
Mobile number and similarity
0 Votes
Can I import any module in python in this app?
0 Votes
The use of these certificates on LinkedIn
1 Votes
GitHub account connecting issue
3 Votes
Converter minúsculas em maiúsculas e imprimir
0 Votes
photo upload issue in html code
0 Votes
Algorithm to create maze-like grid
2 Votes
Coding issue
2 Votes
Hardware of computer
3 Votes