title: I'm trying to attach a loop to my else statement
body: <p>It's running the first half how I'd like it to but it's ignoring my else statement. I'm trying to attach a loop to my else statement. Any advice would be great! I'll attach my code below:</p>
  
  <pre><code>num =input("Enter a number:")
  print(num)
  inc = input("Enter an increment:")
  print(inc)
  
  if inc &lt;= str(0):
       print("Enter an increment greater than 0.") #works up until else--get loop to work!
  
  else:
      for ctr in range(1, inc + 1, 1):
          print(ctr)
  </code></pre>