Monday, November 2, 2015

Using Sets and Set functions

When trying to figure out number 6 after doing research, I learned about sets. Using an two lists containing the characters of the words, a new set is created only using common elements from the two lists. This streamlines the process of comparing the two words and outputting common letters.


Sunday, November 1, 2015

Blank Space function

Needed to write function for blank space in the rock paper scissors game. Tried to do this not in function form but it wasn't as neat and efficient as the function form. It is also aesthetically pleasing. The amount of blank lines printed can be altered by changing "40" to however many blank line necessary.