// //\ /////\\ //\////\\\ /////\\\\\\/// //\\\\//\\\// \\/\\/\\/ \\\\\\ tagstinybeginnerartistic"" def main() print('diamondsby al sweigart al@inventwithpython com' display diamonds of sizes through for diamondsize in range( ) displayoutlinediamond(diamondsize print(print newline displayfilleddiamond(diamondsize print(print newline def displayoutlinediamond(size) display the top half of the diamond for in range(size) print((size )end=''left side space print('/'end=''left side of diamond print(( )end=''interior of diamond print('\\'right side of diamond display the bottom half of the diamond for in range(size) print(iend=''left side space print('\\'end=''left side of diamond print(((size )end=''interior of diamond print('/'right side of diamond def displayfilleddiamond(size) display the top half of the diamond for in range(size) print((size )end=''left side space print('/( )end=''left half of diamond print('\\( )right half of diamond display the bottom half of the diamond for in range(size) print(iend=''left side space print('\\(size )end=''left side of diamond print('/(size )right side of diamond if this program was run (instead of imported)run the game if __name__ ='__main__' main(diamonds