Star Pattern Coding In Python And Elements