title: unsupported operand type(s) for /: 'str' and 'int' but different
body: <p>I made a random palindrome generator. The program calculates the number of possible palindromes for a set char limit, calculating it using the char limit and letters in the English language with a math.ceil function. The section I am having problems with is as follows:</p>
  
  <pre><code>import math
  maximum = input('Max length?')
  for i in range (math.ceil(maximum / 2)):        
      power = power * 26    
  </code></pre>
  
  <p>maximum is a variable containing the set char limit. I used this script because Python doesn't support the equation in LaTEX form.</p>
  
  <p>However, whenever I run this script, it comes up with this error:</p>
  
  <pre><code>for i in range (math.ceil(maximum / 2)):
  TypeError: unsupported operand type(s) for /: 'str' and 'int'        
  </code></pre>
  
  <p>I've tried using the <code>int()</code> function as <code>int(math.ceil(maximum / 2))</code>, but it pushes it back out as a <em>standard</em> drop-down window SyntaxError.</p>
  
  <p>What's my problem?
  Thanks!</p>