标签: python
我收到此错误信息,如何解决?如果有人能解释这段代码意味着什么?
>>> x = 1 if x == 1: # indented four spaces print ("x is 1.")
SyntaxError: multiple statements found while compiling a single statement