star pattern in python w3schools