2,727 reputation
726
bio website github.com/LpSamuelm
location Sweden, yo
age
visits member for 11 months
seen Apr 12 at 9:36

Learning programming in general. It's fun and useful! Python is my main forte so far, but I'm definitely broadening my horizons.

## I feel like I need to have a code example here.
## Have a prime number checker.
def is_prime(x):
    if x < 2:
        return False
    for num in range(2, x / 2 + 1):
        if float(x) / num == round(float(x) / num):
            return False
    return True
print is_prime(42)

Arqade 2,727 rep 726
Stack Overflow 117 rep 5
Server Fault 101 rep
Skeptics 101 rep 1

305 Votes Cast

all time   by type   month  
233 up 144 question 2
72 down 161 answer