Untitled

 avatar
unknown
python
a year ago
295 B
2
Indexable
#Desafio 1:

from itertools import zip_longest

produtos = ['Produto 1', 'Produto 2', 'Produto 3', 'Produto 4', 'Produto 5']
precos = ['R$500,00', 'R$1500,00', 'R$2700,00', 'R$5000,00']

for a,b in zip_longest(produtos,preco):
    print(f"Produto: {a} encontrado no valor de R${b},00")
Editor is loading...
Leave a Comment