+ 8
What is this output?
def f(x): y0=x+1 y1=x*3 y2=y0*y1 return(y0,y1,y2) print(f(2)) think x=2 please describe this activity...
3 Respuestas
+ 6
answer is 3,6,18
+ 2
U need to return just y2
if u wanna get 18 I mean
+ 2
U need to write in the function f(x) something like
print(y0, y1, y2)