Nested Loop

 avatar
Aguiart
python
2 months ago
198 B
4
Indexable
celulares = ['Asus', 'Samsung', 'Sony', 'IPhone']
versoes = ['Plus', 'Premium Plus', 'Premium Deluxe', 'Plus Premium Ultra']

for x in celulares:
    for y in versoes:
        print(f'{x} {y}')
Editor is loading...
Leave a Comment