text: # -*- coding: utf-8 -*-
  
  def square(x):
  	return x * x
  
  def cube(x):
  	return x * x * x
  
  def quad(x):
  	return x * x * x * x
  
  def my_map(func, arg_list):
  	result=[]
  	for i in arg_list:
  		result.append(func(i))  #square 함수 호출, func == square
  	return result
  
  num_list=[1, 2, 3, 4, 5]
  
  squares = my_map(square, num_list)
  cubes = my_map(cube, num_list)
  quads = my_map(quad, num_list)
  
  print(squares)
  print(cubes)
  print(quads)