Skip to content

Instantly share code, notes, and snippets.

@eliasalbuquerque
Last active December 4, 2023 22:19
Show Gist options
  • Save eliasalbuquerque/bf40c0bcc7abee6ef7ee2626fa997850 to your computer and use it in GitHub Desktop.
Save eliasalbuquerque/bf40c0bcc7abee6ef7ee2626fa997850 to your computer and use it in GitHub Desktop.
Curso Dev Aprender | Jhonatan de Souza

Código:

# DESAFIO
celulares = ['Asus', 'Samsung', 'Sony', 'IPhone']
versoes = ['Plus', 'Premium Plus', 'Premium Deluxe', 'Plus Premium Ultra']

for celular in celulares:
    for versao in versoes:
        print(celular, versao)

Console:

Asus Plus
Asus Premium Plus
Asus Premium Deluxe
Asus Plus Premium Ultra
Samsung Plus
Samsung Premium Plus
Samsung Premium Deluxe
Samsung Plus Premium Ultra
Sony Plus
Sony Premium Plus
Sony Premium Deluxe
Sony Plus Premium Ultra
IPhone Plus
IPhone Premium Plus
IPhone Premium Deluxe
IPhone Plus Premium Ultra
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment