Ask your own question, for FREE!
MIT 6.189 Intro to Programming (Python) 7 Online
OpenStudy (anonymous):

Hello, I am a python noob and I need help running some code I have found on the internet in the run module or shell... the code I have should work 100% but I dont know how to run it to show the results... Code: def remove_duplicates(): t = ['a', 'b', 'c', 'd'] t2 = ['a', 'c', 'd'] for t in t2: t.append(t.remove()) return t referenced code from: http://stackoverflow.com/questions/7961363/python-removing-duplicates-in-lists

Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!
Latest Questions
Arriyanalol: i need help
15 hours ago 7 Replies 1 Medal
Arriyanalol: CONGRATS to me
18 hours ago 8 Replies 2 Medals
Legomaster346: What colleges are good that are near Arab Alabama?
1 week ago 5 Replies 0 Medals
Arriyanalol: i need help
1 week ago 6 Replies 2 Medals
Arizona: does anyone know the percentage rate of 30,000 and 40,000
1 week ago 0 Replies 0 Medals
Can't find your answer? Make a FREE account and ask your own questions, OR help others and earn volunteer hours!

Join our real-time social learning platform and learn together with your friends!