@anonymous/

QuintessentialPlasticRabidsquirrel

Python

No description

fork
loading
Files
  • main.py
main.py
1
2
3
4
5
6
7
8
9
10
lista = ['banana [amarela]\n', 'uva [vinho]\n', 'laranja [laranjado]\n', 'kiwi [verde]\n', 'framboesa [vermelho]\n', 'coco [marrom]\n']
colors = []
fruits = []
for ele in lista:
	fruta, color = ele.strip().split(' ')
	colors.append(color[1:-1])
	fruits.append(fruta)

print(fruits)
print(colors)