def square_of_list(some_list, num):
   if len(some_list) >= num:
      answer = some_list[num]**num
   elif len(some_list) < num:
      answer = 0
   return answer


def gap(some_list):
   for loop in range(0,len(some_list)):
      is_loop = isinstance(some_list[loop],int)
      if is_loop == False:
         return '문자열이 있습니다'
   if is_loop== True:
      answer = max(some_list)-min(some_list)
   return answer