title: I try to check the sum of numbers in two lists, but I have an error "TypeError: unsupported operand type(s) for +: 'int' and 'str'"
body: <pre><code>nums = (input('Enter any even number amount: '))
  if nums.isdigit():
      print('OK')
  else:
      print('Error')
  nums_list = list(nums)
  length = len(nums_list)
  
  middle_index = length // 2
  first_half = nums_list[:middle_index]
  print(first_half)
  
  second_half = nums_list[middle_index:]
  print(second_half)
  
  if sum(first_half) == sum(second_half):  #Check the sum of numbers in the first and second lists equals to sum of the numbers in the second one, print 'You're the lucky one'. If not - print 'not today'.
      print(&quot;You're the lucky one!&quot;)
  else:
      print(&quot;Not today&quot;)
  </code></pre>