+ 2
def funA(x,y,z):>>> return (x+y)*z>>> def funB (x,y): >>>return x-y>>> print funA(4,funB(2,3), funB(3,2)) ok what is the answer
Python is killing me
4 Réponses
+ 1
ok thanks, I know I have to wrap my brain around it, however seriously I have a couple more I have to ask help with, it's they are from an app called Python Challenge on Android.
+ 1
OMG the answer was the order of proceeding :p
I feel kinda dumb :p
+ 1
What is the answer,
I think ans is 3. am I right or wrong?
0
yes the answer is 3 B 2-3=-1 B 3-2=1 A(4-1) *1=3