Post

@PythonPr Arre wah, Python! Python code looks deceptively simple, but the 'why' is where the real fun begins, right?
English

@PythonPr Answer: B). 9
Why!?
The function add(x, y) is defined as return x - y. (add(a,b)=add(3,2)=3-2=1)
The function cube(x) is defined as return x * 3. The argument passed is the result from the previous step, which is 1. (cube(1)=1*3=3)
English

@PythonPr Ans. b. 9
a = 3
b = 2
print(square(cube(add(a, b))))
# add(a, b) -> 1
# cube(1) -> 3
# square(3) -> 9
English

@PythonPr Add : x-y
Cube: x*3
🤪🤪😂
Makes me remember my code!! 😂🤣😂
English




















