Change to use function for block generation
Change to use function for block generation

Use a separate function for random block generation
move code from loop to the function

hashbangstudio/Python-Minecraft-Examples