>>> print("proof by counterexample in a python REPL")
proof by counterexample in a python REPL
>>> x = 2; print(x)
2>>> print("this is not ignored"); print("it's just mostly useless"); print("but you can use as many as you want")
this isnot ignored
it's just mostly useless
but you can use as many as you want
What’s worse, that Python doesn’t need semicolons, or that if used, they are ignored? 🤔
They are not ignored, you can use them to put multiple statements in one line
>>> print("proof by counterexample in a python REPL") proof by counterexample in a python REPL >>> x = 2; print(x) 2 >>> print("this is not ignored"); print("it's just mostly useless"); print("but you can use as many as you want") this is not ignored it's just mostly useless but you can use as many as you want