so im verry new to python, day one,
im using minecraft pi to help me learn,
right now i am building a small castle, at this point it is only a shell, 4 walls 20 blocks long each, with circle towers at the corners 9 blocks across the wall itself is 5 blocks high aboce ground, 65 (dow to the void) underground, the towers are 10 blocks high above ground, and again 65 blocks below
now being a total noob, each block has its own line of code, prety much the same as the rest but the x y and z is different, also i am using a variable for the block type so i can change them all without wasting a ton of time
that being said, it would be nice if i could just set the dimensions as variables and some how have the rest filled in? im shure this is quite obvious, but like i said im a noob
at this point i have about 20k lines of code devided over 3 files as i could only go up to around 13,000 in one file (and since i was seperting them any way iy made sense for me to make a third.
so my questions are 1. can i use some sort of loop to do most of the coding for me and 2. if i can not (or either way as im shure ill need it anyway) can i save an entire script and have it run with one line of code?
[MOD EDIT - PROFANITY REMOVED - PLEASE DO NOT SWEAR ON THESE FORUMS]