+ 1
Why is there a "." before join? And why is it 24 eventually?
What is the output of the code? def f(r): j = range (1, r + 1) return eval("*".joint([str(i) for i in j])) print(f(4))
3 odpowiedzi
+ 1
joint????
1*2*3*4 = 24
+ 1
sorry "join"
What is the output of the code? def f(r): j = range (1, r + 1) return eval("*".joint([str(i) for i in j])) print(f(4))