materiais = ['caneta', 'caderno', 'livro', 'lapis']
print(materiais)

#printing each element from the list

materiais = ['caneta', 'caderno', 'livro', 'e-book']
for material in materiais :
    print(material) #this is the for body
    print(material.title())
    print(len(materiais))

# "for" makes variable "material" write each element from the list per time

#numeric lists. In python we use Range to generate number in "for"

for valor in range(1,5):
    print(valor)

numeros = list(range(1,6))
print(numeros)

for numeros in range(1,7):
    print(numeros)

quadrados = []
for valor in range(1,11):
    quadrado = valor ** 2
    quadrados.append(quadrado)
print(quadrados)
#square os a list numbers

digitos = [1,2,3,4,5,6,7,8,9,0]
print(min(digitos))
print(max(digitos))
print(sum(digitos))
# stats basics

materiais = ['caneta','caderno','livro','e-book']
print(materiais[0:4])
# manipulating some list contents

materiais = ['caneta','caderno','livro','e-book','etc']
print(materiais[2:])
# manipulating some list contents

materiais = ['caneta','caderno','livro','e-book']
objetos = materiais[1:3]
print(materiais)
print(objetos)

materiais = [1,2,3,4]
objetos = materiais
objetos.append(5)
print(materiais)
print(objetos)

materiais = [1,2,3,4]
objetos = materiais[:]
objetos.append(5)
print(materiais)
print(objetos)

for i in range(1,11):
    ...
    for j in range (1,11):
        ...

for i in range(2,4):
    print("Tabuada do " + str(i))
    for j in range(0,11):
        print(str(j) + "" + str(j*i))
materiais = ['caneta', 'caderno', 'livro', 'lapis']
print(materiais)

#printing each element from the list

materiais = ['caneta', 'caderno', 'livro', 'e-book']
for material in materiais :
    print(material) #this is the for body
    print(material.title())
    print(len(materiais))

# "for" makes variable "material" write each element from the list per time

#numeric lists. In python we use Range to generate number in "for"

for valor in range(1,5):
    print(valor)

numeros = list(range(1,6))
print(numeros)

for numeros in range(1,7):
    print(numeros)

quadrados = []
for valor in range(1,11):
    quadrado = valor ** 2
    quadrados.append(quadrado)
print(quadrados)
#square os a list numbers

digitos = [1,2,3,4,5,6,7,8,9,0]
print(min(digitos))
print(max(digitos))
print(sum(digitos))
# stats basics

materiais = ['caneta','caderno','livro','e-book']
print(materiais[0:4])
# manipulating some list contents

materiais = ['caneta','caderno','livro','e-book','etc']
print(materiais[2:])
# manipulating some list contents

materiais = ['caneta','caderno','livro','e-book']
objetos = materiais[1:3]
print(materiais)
print(objetos)

materiais = [1,2,3,4]
objetos = materiais
objetos.append(5)
print(materiais)
print(objetos)

materiais = [1,2,3,4]
objetos = materiais[:]
objetos.append(5)
print(materiais)
print(objetos)

for i in range(1,11):
    ...
    for j in range (1,11):
        ...

for i in range(2,4):
    print("Tabuada do " + str(i))
    for j in range(0,11):
        print(str(j) + "" + str(j*i))
#printing each element from the list #this is the for body # "for" makes variable "material" write each element from the list per time #numeric lists. In python we use Range to generate number in "for" #square os a list numbers # stats basics # manipulating some list contents # manipulating some list contents