title: i'm trying to make higher_lower game that let the user to guess between to celebrities i don't know what's the problem in my programme
body: <p>i think the problem is in loop i don't know the program is just stopped after the first round but it's only giving one result and the rest is jut
  keep repeating the same print statement and it's not giving a new random celebrity plus the score is always 1 or 0  #i don't know where the bug is but the</p>
  <pre><code> a=random.choice(data)
      b=random.choice(data)
      value1=a[&quot;follower_count&quot;]
      value2=b[&quot;follower_count&quot;]
      nameA=a[&quot;name&quot;]
      nameB=b[&quot;name&quot;]
      descriptionA=a[&quot;description&quot;]
      descriptionB=b[&quot;description&quot;]
      countryA=a[&quot;country&quot;]
      countryB=b[&quot;country&quot;]
      score=0
      def compare_1(a,b):
          game_continue=True
          while game_continue:             
              a=b 
              b=random.choice(data)
              while a == b:
                  b=random.choice(data)
                  print(f&quot;compare A: {nameA},a {descriptionA}, from {countryA}&quot;)
                  print(vs)
                  print(f&quot;compare B: {nameB},a {descriptionB}, from {countryB}&quot;)
                  answer_comp()
                  #clear()            
                  #print(logo)
          else:
              game_continue=False
              print(f&quot;soory you loose : {score}&quot;)
      def answer_comp():
          global score
          answer=input(&quot;who has more followers  A or B &quot;).lower()
          global value1
          global value2
          if answer==&quot;a&quot; and value1&gt;value2:
                  score+=1
                  print(f&quot;correct,move to the next one your score is:{score}&quot;)
                  return a 
          elif answer==&quot;b&quot; and value1&lt;value2:
                score+=1
                print(f&quot;correct,move to the next one your score is:{score}&quot;)
                return b
          elif answer==&quot;a&quot; and value1&lt;value2:
                  print(f&quot;faulse,you loose your score is :{score}&quot;)
                 
                  
          elif answer==&quot;b&quot;and value1&gt;value2:
                   print(f&quot;faulse,you loose your score is :{score}&quot;)  
  
    compare_1(a,b)
  </code></pre>