+ 1
SyntaxError: invalid syntax (anaconda3 Jupyter Notebook.
num = 3 if num == 1: print("One") else: if num == 2: print("Two") else: if num == 3: print("Three") else: print("Something else")
1 Odpowiedź
0
line:7
error (jupyter )
num = 3 if num == 1: print("One") else: if num == 2: print("Two") else: if num == 3: print("Three") else: print("Something else")