i put this into the UI:
but 64 is returned but nothing is printed.
although when i replace the variables *ONLY* with the same numbers (4) and put it in the calculator, i get 67.04. what am i doing wrong. is it me or python? please help.
im using version 2.7.10 on repl.it btw
i tried it on version 3....still never got correct results
def volume(h, r): return (h*(r**2)*(22/7))/3 print volume(4, 4)
but 64 is returned but nothing is printed.
although when i replace the variables *ONLY* with the same numbers (4) and put it in the calculator, i get 67.04. what am i doing wrong. is it me or python? please help.
im using version 2.7.10 on repl.it btw
i tried it on version 3....still never got correct results