























Estude fácil! Tem muito documento disponível na Docsity
Ganhe pontos ajudando outros esrudantes ou compre um plano Premium
Esta página não é visível na pré-visualização
Não perca as partes importantes!
























a ="1" b = 1 a+b Traceback (most recent call last):
File "
(^) 1.0 , 10.5 , -19000.00005 , 15e-
(^) 1+1j , 20j , 1000+100J
022 18 0x 16 0x1f
31
"ab\rd" 'ab\rd' print "ab\rd" # print exibe cars não imprimíveis db print "abc\td" abc d print "abc\nd" abc d print "abc\nd" abc\nd print "ab\bc" ac print "\x41\xA1" Aí
print "abc\ncd\tef" abc
cd ef
print r"abc\ncd\tef" abc\ncd\tef
print """ Um tigre dois tigres três tigres"""
Um tigre dois tigres três tigres
print '''abcd efgh''' abcd
efgh
a = "abcde" a[0] 'a' a[-1] 'e'