2,912 reputation
1231
bio website github.com/LpSamuelm
location Sweden, yo
age
visits member for 1 year, 4 months
seen 2 days ago

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,912 rep 1231
Stack Overflow 117 rep 6
Server Fault 101 rep
Skeptics 101 rep 1

311 Votes Cast

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