x, y, z = 100, 200, 300 print(x, y, z) print(x, y, z, sep=',') #insert , between items print(x, y, z, sep='') #insert nothing between items print(x, y, z, sep=':') #insert : print(x, y, z, sep='-----') #insert ----- print("----------------") print('a{0}b{1}c{0}d'.format('zero', 'one')) #{0} = 'zero' #{1} = 'one' print("----------------") print('{0:>2} {1:>5}'.format(0, 10)) #> right justify space print('{0:>2} {1:>5}'.format(1, 10*10)) print('{0:>2} {1:>5}'.format(2, 10*10*10)) print("----------------") #multi-line print x = ''' A cube: #------# /| /| #------# | | | | | | #----|-# |/ |/ #------# ''' print(x) print("----------------") print('Please enter an integer value:') #cursor next line x = input() print('Please enter an integer value:', end='') #cursor same line y = input()