title: Python: a part of my program is looping over and over again instead of continuing onwards
body: <p>I'm new to programming so sorry if I sound like I don't know what I'm talking about. I wanted to create an advanced calculator, one that could calculate squares and even specific equations such as Pythagoras and square root, after doing a bit of research and understand how to actually calculate these on computer, I found myself stuck with making a normal sum:</p>
  <pre><code>number1add = int(input(&quot;What is your First number:&quot;))
  number2add = int(input(&quot;What is you Second number:&quot;))
  sum = number1add + number2add
  
  if intro == &quot;sum&quot;:
      print(number1add, number2add)
      print(sum)
  </code></pre>
  <p>You see for some reason, when I run this, the program keeps on repeating on the &quot;What is your First Number&quot;, &quot;What is your second number&quot;, instead of moving on, I understand this could probably be fixed by just adding a statement that transitions the two, but after searching on the internet for a while, no post resembled the issue I seem to be getting, if anyone knows the answer, I would love to know</p>
  <p>Edit: Since a lot of people seem to be getting confused, here is the full code</p>
  <pre><code>intro = str(input(&quot;What calculation do you want to perform:&quot;))
  
  number1add = int(input(&quot;What is your First number:&quot;))
  number2add = int(input(&quot;What is you Second number:&quot;))
  sum = number1add + number2add
  
  print(intro)
  
  if intro == 'sum':
      print(number1add, number2add)
      print(sum)
  </code></pre>
  <p>And here is what happens when I execute the code:</p>
  <pre><code>What calculation do you want to perform:sum
  What is your First number:2
  What is you Second number:2
  What is your First number:2
  What is you Second number:2
  What is your First number:
  </code></pre>