title: Can i press two keys simultaneously for a single event using Pygame?
body: <p>I am making a game using Pygame and Python.I wish to move a block by pressing two keys simultaneously.How can i do that? I am able to move the block  using a single key.. but it doesn't work for two keys together.</p>
  
  <p><strong>I want the block to move wen i press "right key" and "1" together</strong></p>
  
  <p><em>The given code works efficiently move using a single key</em></p>
  
  <pre><code> if event.type==KEYDOWN:
          if event.key==K_RIGHT:
              move_fullcube=left
  </code></pre>
  
  <p><em>I tried using "and" but it still doesn't work</em></p>
  
  <pre><code> if event.type==KEYDOWN:
              if event.key==K_RIGHT and event.key==K_1:
                  move_fullcube=left
  </code></pre>