Replacing %s with variables

var = '{0} {0} {0}'.format('look_at_meeee')

var = '{foo} {foo} {foo}'.format(foo = 'python you so crazy')