title: seven (7) boom game in one line code python
body: <p>I need to create a game that every number that divides in 7 or has the digit 7 should be printed as boom:</p>
  
  <pre><code>[1 2 3 4 5 6 boom 8 ... 13 boom 15 16 boom ...]
  </code></pre>
  
  <p>my line get invalid text. I think its because of the mix of int and str. not shore what to do to fix the code.</p>
  
  <pre><code>boom7 = [x = "boom" if 7 in x else x*1 for x in range(1,99)]
  print(boom7)
  </code></pre>