Earn extra honor and gain new allies!
Honor is earned for each new codewarrior who joins.
Learn more
# caesar cipher shifted of 13 characters with maketrans for python 2.7
from string import maketrans
import string
def caesar(s):
    print(s)
    s=s.translate(maketrans(string.ascii_uppercase, string.ascii_uppercase[13:]+string.ascii_uppercase[:13]))
    return s
import math
def is_prime(n):
    if n % 2 == 0 and n > 2: 
        return False
    for i in range(3, int(math.sqrt(n)) + 1, 2):
        if n % i == 0:
            return False
    return True

[Please, leave a feedback when you complete it or this will always stay in beta and you will not earn language points].

Print all numbers up to 3rd parameter which are multiple of both 1st and 2nd paramater.

#!/bin/bash
for i in $(eval echo {1..$3});
do
if [ `expr $i % $1` -eq 0 -a `expr $i % $2` -eq 0 ]
then
echo $i
fi
done