# if args is not passed it return message
# "Hey you didn't pass the arguements"
def ech(num,*args):
if args:
a = []
for i in args:
a.append(i**num)
return a # return should be outside loop
else:
return "Hey you didn't pass the arguements" # return should be outside loop
print(ech(3))