I want to print the items from a list on the same line. The code I have tried:
dice_art = [\"\"\" ------- | | | N | | | ------- \"\"\",\"\"
A join command should do it.
dice_art = ['ASCII0', 'ASCII1', 'ASCII2'] print(" ".join(dice_art))
The output would be:
ASCII0 ASCII1 ASCII2