Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #37.0K
3 Posted Topics
Re: how avout this one?: def is_prime(n): i = 2 if n < 2: return False while i < n: if n % i == 0: return False else: i += 1 return True Editor's note: too slow for large n | |
Hello everyone, I'm a beginner in programming languages and in Python. I came across this error and I don't khow if it is a logical error or a design error. The problem is with class_average a = {1:[1, 2, 3], 2:[3,4,5], 3:[6,7,8] } b = {1:[3,7,4], 2:[8,2,9], 3:[3,6,3] } c … | |
Re: > "AI" not rewritten to classes yet, so computer is simply picking > # a random move. how about printing AI's moves, it's kind of hard to track them. |
The End.