# Lesson 4 # Substitution amount = 20 sentence = 'The amount is %s' print(sentence % amount) # You can do this with multiple substitution values: game = 'You are at night %s in %s the time is %s and boss is the %s' print(game % ('6','minecraft','7','ender dragon')) # Output below: # "You are at night 6 in minecraft the time is 7 and boss is the ender dragon"