What will be the output of following code? def Cube(n): print(n*n*n) Cube(n) # n is 10 here print(Cube(n)) Immersive Reader
Answers
Answered by
1
Answer:
1000
Explanation
In first line if we get n=int(input()) then 1000 will be answer
otherwise it will show as 'n is not defined' error.....
I think it will helpful for you...
Similar questions
Social Sciences,
4 months ago
Chemistry,
4 months ago
History,
4 months ago
Physics,
9 months ago
Math,
1 year ago