Código
# - *- coding: utf-8 *- - formatter = "%r %r %r %r" print formatter % (1, 2, 3, 4) print formatter % ("one", "two", "three", "four") print formatter % (True, False, False, True) print formatter % (formatter, formatter, formatter, formatter) print formatter % ( "i had this thing.", "that you could type up right.", "but it didn´t sing.", "so I said goodnight." )
pero al cargarlo en cmd me sale:
but it didn\xc2\xb4 en vez de salirme but it didn´t sing. ¿Alguien sabe porque?