title: Storing the value of a randomly generated integer
body: <p>I been hitting a wall that's been keeping me from tinkering on a game.</p>
  
  <pre><code>class Damage:
      def shortsword():
          shortsword=randint(1,6)+1
          shortsword=int(shortsword)
          return shortsword
  </code></pre>
  
  <p>I been wanting this number to pop up as part of a message on print and then use the same number as part of another function to help with subtracting of health on the target. Though each time I grab this it is always going to change. </p>