Untitled

 avatar
unknown
plain_text
a year ago
515 B
8
Indexable
#DESAFIO
#Copie e cole as seguintes linhas de código para seu editor de código e descubra qual é o tipo de cada um desses dados

variavel_1 = 25.87 # float (número decimal)
variavel_2 = True # boleano (verdadeiro ou falso)
variavel_3 = 'Bom dia' # string
variavel_4 = 15 # int (n´mero inteiro)

print('A variável 1 é tipo',type(variavel_1)) #type = tipo
print('A variável 2 é tipo',type(variavel_2))
print('A variável 3 é tipo',type(variavel_3))
print('A variável 1 é tipo',type(variavel_4))
Editor is loading...
Leave a Comment