2,955 reputation
1433
bio website github.com/LpSamuelm
location Sweden, yo
age
visits member for 1 year, 7 months
seen Nov 14 at 9:50

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,955 rep 1433
Stack Overflow 117 rep 7
Android Enthusiasts 106 rep 3
Server Fault 101 rep 1
Graphic Design 101 rep 2

311 Votes Cast

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