Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
d6cea7c
Delete file Untitled.
Ste452 Jan 8, 2024
219234c
Finished topics of dictionaries
Ste452 Jan 9, 2024
6ca7d92
A some modifications in dictionaries
Ste452 Jan 10, 2024
59113c7
A some modifications about set.
Ste452 Jan 11, 2024
3230a98
Finished first exercise
Ste452 Jan 13, 2024
61f8b61
Exercise Set manipulation in Python
Ste452 Jan 14, 2024
72964e4
Operations with Sets in Python
Ste452 Jan 15, 2024
3b1ab36
Other Functions and Methods
Ste452 Jan 16, 2024
b438e7f
Exercise with other functions and methods on set concepts in Python.
Ste452 Jan 17, 2024
f91b81d
Imutabilidade e Frozensets
Ste452 Jan 21, 2024
647e9ea
Limitations of a set
Ste452 Jan 22, 2024
54a9b4d
Resolving a some works
Ste452 Jan 25, 2024
8201d97
Finished an exercise about set Limitations in Python
Ste452 Feb 5, 2024
4c2f114
Finished first exercise Number Analysis
Ste452 Feb 6, 2024
a4d8357
Finished class about Set and init class Matrices
Ste452 Feb 11, 2024
f0070f3
(1 topic of matrices) Initializing the two matrices and the result ma…
Ste452 Feb 13, 2024
371bec3
Sum of Even Numbers in a 4x4 Matrix
Ste452 Feb 15, 2024
923916c
Finished Matrices and Average of Grades
Ste452 Feb 19, 2024
c64f83e
Array of strings
Ste452 Feb 20, 2024
46b67ac
Exercise - Electronic Urn with Matrices
Ste452 Mar 7, 2024
bc22996
Exercise: Reserve Cinema Seats using Arrays
Ste452 Mar 7, 2024
679f646
Finished a program of Tic-tac-toe.
Ste452 Mar 14, 2024
64770ff
Finished simulate exercise people routine
Ste452 Apr 20, 2024
5759b7d
Methods Defining and calling methods of a class
Ste452 Jul 11, 2024
13b5792
Pet exercise
Ste452 Jul 24, 2024
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions .hintrc

This file was deleted.

84 changes: 10 additions & 74 deletions 1_section_Programming_logic/Dictionaries.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2396,7 +2396,7 @@
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": 1,
"id": "97c8c4e0",
"metadata": {},
"outputs": [
Expand All @@ -2413,23 +2413,9 @@
"5. Sair\n",
"Escolha uma opção: 1\n",
"\n",
"Digite o nome do contato: A\n",
"Digite o número de telefone: 778787\n",
"{'A': '778787'}\n",
"\n",
"Contato adicionado com sucesso!\n",
"\n",
"MENU:\n",
"1. Adicionar contato\n",
"2. Alterar contato\n",
"3. Remover contato\n",
"4. Listar contatos\n",
"5. Sair\n",
"Escolha uma opção: 1\n",
"\n",
"Digite o nome do contato: Bia\n",
"Digite o número de telefone: 78787\n",
"{'A': '778787', 'Bia': '78787'}\n",
"Digite o nome do contato: Steve\n",
"Digite o número de telefone: 55554555\n",
"{'Steve': '55554555'}\n",
"\n",
"Contato adicionado com sucesso!\n",
"\n",
Expand All @@ -2439,51 +2425,9 @@
"3. Remover contato\n",
"4. Listar contatos\n",
"5. Sair\n",
"Escolha uma opção: 4\n",
"\n",
"Nome: A\n",
"Telefone: 778787\n",
"\n",
"Nome: Bia\n",
"Telefone: 78787\n",
"\n",
"MENU:\n",
"1. Adicionar contato\n",
"2. Alterar contato\n",
"3. Remover contato\n",
"4. Listar contatos\n",
"5. Sair\n",
"Escolha uma opção: 2\n",
"\n",
"Digite o nome do contato que deseja alterar: A\n",
"Digite o novo nome para o contato (deixe em branco para manter o nome atual): Amanda\n",
"Digite o novo número de telefone (deixe em branco para manter o atual): 5659\n",
"\n",
"Contato atualizado com sucesso!\n",
"\n",
"MENU:\n",
"1. Adicionar contato\n",
"2. Alterar contato\n",
"3. Remover contato\n",
"4. Listar contatos\n",
"5. Sair\n",
"Escolha uma opção: 4\n",
"\n",
"Nome: Bia\n",
"Telefone: 78787\n",
"\n",
"Nome: Amanda\n",
"Telefone: 5659\n",
"\n",
"MENU:\n",
"1. Adicionar contato\n",
"2. Alterar contato\n",
"3. Remover contato\n",
"4. Listar contatos\n",
"5. Sair\n",
"Escolha uma opção: 3\n",
"\n",
"Digite o nome do contato que deseja remover: Bia\n",
"Digite o nome do contato que deseja remover: Steve\n",
"\n",
"Contato removido com sucesso!\n",
"\n",
Expand All @@ -2493,16 +2437,6 @@
"3. Remover contato\n",
"4. Listar contatos\n",
"5. Sair\n",
"Escolha uma opção: 9\n",
"\n",
"Opção inválida!\n",
"\n",
"MENU:\n",
"1. Adicionar contato\n",
"2. Alterar contato\n",
"3. Remover contato\n",
"4. Listar contatos\n",
"5. Sair\n",
"Escolha uma opção: 5\n"
]
}
Expand Down Expand Up @@ -2679,12 +2613,14 @@
" # Se o usuário escolher uma opção que não está no menu:\n",
" else:\n",
" \n",
" # Exibe uma mensagem de erro.\n",
" print(\"\\nOpção inválida!\")\n",
" # Exibe uma mensagem de erro:\n",
" \n",
" print(\"\\nDigite a opção comforme a tabela mostra:\")\n",
"\n",
"\n",
"# Chama a função principal para executar o programa\n",
"main()\n"
"main()\n",
" \n"
]
},
{
Expand Down
Loading