2,920 reputation
1333
bio website github.com/LpSamuelm
location Sweden, yo
age
visits member for 1 year, 5 months
seen Oct 9 at 21:46

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,920 rep 1333
Stack Overflow 117 rep 7
Server Fault 101 rep 1
Graphic Design 101 rep 2
Skeptics 101 rep 2

311 Votes Cast

all time   by type  
238 up 145 question
73 down 166 answer