No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
I have windows xp operating system at my home with python 2.5 and same operating system with python 2.4 at my computer lab. While working in python IDLE suddenly this error message --socket error:connection refused-- pops up and then python IDLE does not work at all.To make it work again … |
|
Hello everyone, Im very new to python so I am having a hard time with it. I am trying to input a set 's' and have it spit out 'result' which would be a list of all computed subsets of 's'. I wrote the following code but its not working. … |
|
Im trying to figure out how to compute a product of ordered pairs. So if I have two sets (1,3) and (2,4), I want to generate the following tuples (1,2), (1,4), (3,2), (3,4). Now I wrote the following [INLINECODE]def orderedproduct(set1, set2): op=[set()] for x in set1: for y in set2: … |
|
Hello everyone! My name is Markus I played football in HS and college (OL) and Ive had an interest in computers for a while but playing ball kept me from really getting into it. Anyway, I hope to learn from some of the pros here! |