0
Wht will b output for this
def mystery(l): l = l + l return() my list = [ 31,24,75] mystery (my list)
3 odpowiedzi
+ 1
first there will be an error, since indentation is wrong at return statement. and as your function is returning none so there will be no change in original list. moreover there is no print statement so no output will be there.
0
so what do you think @Mayank Jain what will be the answer for the following set of code.
0
There will be no answer but an error i.e.
Syntax error unexpected indent