title: to write a program to find all the pair of 5digit number such that their sum is also a 5digit number
body: <p>its my school assignment to write a program to find all the possible pair of 5digit number such that their sum I s also a 5digit number (e.g.- (13526,66471),(53972+25016),etc). I want to use basic in built functions like for and while loops and if,else statements , lists,etc.</p>
  <pre><code>temp=[]
  x=0
  y=0
  while x&lt;10:
      n1=[x,x,x,x,x]
      x+=1
      while y&lt;10:
          n2=[y,y,y,y,y]
          y+=1
      for i in range(0,5):
          for j in range(0,5):
              if n1[i]+n2[j]&lt;=0:
                  temp.append((n1[i],n2[j]))
          
                      
  print(temp)
  print(len(temp))
  </code></pre>
  <p>I tried this code but as expected it didn't wrk.</p>