This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
pirple.com/python | |
Homework Assignment #4: Lists | |
Create a global variable called myUniqueList. It should be an empty list to start. | |
Next, create a function that allows you to add things to that list. | |
Anything that's passed to this function should get added to myUniqueList, | |
unless its value already exists in myUniqueList. | |
If the value doesn't exist already it should be added and the function should return True. |