3 ms·
It fails pretty fast. import random y = 0 def f(x): print(x) if random.randint(0,1) == 2: y = 1 f(y) This not only fai
by Spivak 6y ago
It fails pretty fast.
import random
y = 0
def f(x):
print(x)
if random.randint(0,1) == 2:
y = 1
f(y)
This not only fails but crashes the program.