title: Breaking a while loop without using break statement
body: <p><strong>Problem</strong></p>
  
  <p>How can I stop the loop from asking "Input string" again without using break? Thanks.</p>
  
  <p><strong>Code</strong></p>
  
  <pre><code># Remove Break
  def main():
      inp = 0
      while inp &lt;= 0:
          inp = int(input("Enter Number: "))
          if inp &gt; 0:
              string = ""
              while string != "you" or string != "me":
                  string = input("Input string: ")
                  if string == "you":
                      stringYou(inp)
                      break
                  elif string == "me":
                      stringMe(inp)
                      break
  
  def stringYou(inp):
      sentence = "I love You"
      print(sentence * inp)
  def stringMe(inp):
      sentence = "You love Me"
      print(sentence * inp)
  main()
  </code></pre>