Created
June 22, 2019 18:01
-
-
Save deboraazevedo/713ff4a0927bcb7cb3a1d61d55b9f2c6 to your computer and use it in GitHub Desktop.
tenta pegar uma palavra e dizer de qual sublista a palavra é
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
list_a = ['father', 'arm', 'heart', 'wasp', 'lager'] | |
list_e = ['less', 'weather', 'egg', 'bread', 'tell'] | |
list_i = ['tree', 'beach', 'feet', 'eat', 'police'] | |
list_o = ['all', 'fought', 'hot', 'lot', 'bot'] | |
list_u = ['boot', 'cool', 'tune', 'soup', 'true'] | |
list_uu = ['bus', 'blood', 'up', 'come', 'sun', 'son'] | |
words_list = [list_a, list_e, list_i, list_o, list_u, list_uu] | |
word = input("Diga uma palavra: ") | |
for position in words_list.len(): | |
if position == 1 | |
if word is in words_list[ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment