LEARN                                                                       
                                                                                  
      Three      ideas     to  unlock                                             
                                                                                  
                                                                                  
                                                                                  
                                                                                  
               Python keeps extra tools in modules. import random makes the random module
          1                                                                       
               available to your program.                                         
                                                                                  
                                                                                  
                                                                                  
                                                                                  
                                                                                  
                                                                                  
                                                                                  
                                                                                  
                                                                                  
               random.randint(1, 6) chooses a whole number from 1 through 6. random.choice(list)
          2                                                                       
               chooses one item from a list.                                      
                                                                                  
                                                                                  
                                                                                  
                                                                                  
                                                                                  
                                                                                  
                                                                                  
                                                                                  
               Computer randomness is produced by an algorithm. It is unpredictable enough for
          3                                                                       
               simple games, but it should not be used to protect secrets.        
                                                                                  
                                                                                  
                                                                                  
                                                                                  
                                                                                  
                                                                                  
                                                                                  
                                                                                  
                                                                                  
                                                                                  
                                                                                  
                                                                                  
                                                                                  
                                                                                  
                                                                                  
                                        Pause and explain each idea in your own words.
                                                                                  
                                                                                  
                                                                                  
                                                                                  
      Randomness and Mini-Games                                           56
