This uses the "e^ of" block to easily calculate e.
{when green flag clicked} [set(var)to(1)] [set(my variable)to()] |repeat(17)| |[set(my variable)to(join(my variable)(letter(var)of(e^of(1)))] |[change(var)by(1)]