I am novice in python. I was writing a function with flexible arguments. But it is giving only result of first argument. I need results for every argument. Please tell me how to tackle this.
def many_squares(*args):
for ar in args:
squares=ar**2
return(squares)
many_squares(25,28,35)
625