title: How do I set a constantly reassigning random variable that works throughout the program?
body: <p>I want to create a variable called Random that is constantly changing every time I call on it.</p>
  
  <p>I want this bit of code:</p>
  
  <pre><code>Random = randint(0, 10)
  print Random
  print Random
  print Random
  </code></pre>
  
  <p>not to give me something like:</p>
  
  <pre><code>6
  6
  6
  </code></pre>
  
  <p>but rather something like:</p>
  
  <pre><code>3
  6
  1
  </code></pre>
  
  <p>Without having to reassign Random before I use it every time. Also I used Random inside several different functions. So how do I allow it to be used everywhere in the code without having to reassign it as a random variable every single time? </p>
  
  <p>Sorry if this is a stupid question but I'm very new at this and I have no idea what I'm doing. Please keep the explanations simple.</p>
  
  <p>edit: here's some more code:</p>
  
  <pre><code>def something1(Random, useless, whatever)
  
  etc...
  
  def something2(Random, useless, whatever)
  
  etc...
  
  ...
  
  main():
  
     for index in range(800):
  
       Random = randint(1, 10)
  
       something1(Random, useless, whatever)
  
  
  Random = randing(1, 10)
  
  
  something2(Random, useless, whatever)
  </code></pre>
  
  <p>and this goes on for a while.</p>