Login
Remember
Register
Ask a Question
What is the output of the following code?
0
votes
asked
Jan 13, 2021
in
Python
by
SakshiSharma
What is the output of the following code?
def f(x):
return 3*x
def g(x):
return 4*x
print(f(g(2)))
i) Error
ii) 8
iii) 24
iv) 6
#python-code-output
Python-questions-answers
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jan 13, 2021
by
SakshiSharma
iii) 24
...