Skip to content

solução da tarefa - #3829

Open
Alvimsz wants to merge 5 commits into
mate-academy:masterfrom
Alvimsz:master
Open

solução da tarefa#3829
Alvimsz wants to merge 5 commits into
mate-academy:masterfrom
Alvimsz:master

Conversation

@Alvimsz

@Alvimsz Alvimsz commented Sep 9, 2026

Copy link
Copy Markdown

tarefa mate_academy mutable and immutable

@mateacademy-ai-mentor mateacademy-ai-mentor left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, the pull request review was unsuccessful for the following reasons:

Warning

There are no files to review. Please make sure that you have added files to the pull request. Some files and directories may be ignored from the review or failed to load.
[CODE: NFR]

Additional info:
Ignored files list:

  • solution

If the issue is within your control, please address it.
The next review attempt will automatically launch in about 1 hour.
If you believe this is an error or need assistance, please contact the support team.

@mateacademy-ai-mentor mateacademy-ai-mentor left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, the pull request review was unsuccessful for the following reasons:

Warning

There are no files to review. Please make sure that you have added files to the pull request. Some files and directories may be ignored from the review or failed to load.
[CODE: NFR]

Additional info:
Ignored files list:

  • solution

If the issue is within your control, please address it.
The next review attempt will automatically launch in about 1 hour.
If you believe this is an error or need assistance, please contact the support team.

@mateacademy-ai-mentor mateacademy-ai-mentor left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, the pull request review was unsuccessful for the following reasons:

Warning

There are no files to review. Please make sure that you have added files to the pull request. Some files and directories may be ignored from the review or failed to load.
[CODE: NFR]

Additional info:
Ignored files list:

  • solution

If the issue is within your control, please address it.
The next review attempt will automatically launch in about 1 hour.
If you believe this is an error or need assistance, please contact the support team.

@mateacademy-ai-mentor mateacademy-ai-mentor left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, the pull request review was unsuccessful for the following reasons:

Warning

There are no files to review. Please make sure that you have added files to the pull request. Some files and directories may be ignored from the review or failed to load.
[CODE: NFR]

Additional info:
Ignored files list:

  • solution

If the issue is within your control, please address it.
The next review attempt will automatically launch in about 1 hour.
If you believe this is an error or need assistance, please contact the support team.

@renan-tinti renan-tinti left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Miguel, aqui é o mesmo problema da outra tarefa. Você criou um arquivo solution sem extensão, apenas com um texto, mas na verdade, vocẽ precisa fazer a implementação da sua solução dentro do arquivo main.py, dentro da pasta app.

Faça a implementação ali e remova esse arquivo que você adicionou.

Removed old variable declarations and added sorted_variables to categorize mutable and immutable types.
@Alvimsz
Alvimsz requested a review from renan-tinti September 10, 2026 16:40

@Alvimsz Alvimsz left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

está certo?

@renan-tinti renan-tinti left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Miguel, o exercício te dá 8 variáveis diferentes, tanto mutáveis como imutáveis. Você precisa apenas criar um dicionário chamado sorted_variables e identificar, nas chaves "mutable" e "immutable", quais são mutáveis e quais são imutáveis. Você não precisa apagar as variáveis que estão ali e criar novas, é para usar as que o exercício já proporciona mesmo.

A parte do dicionário está ok, você só precisa usar as variáveis que já estavam no exercício. Você pode remover esses asserts que você fez no final do seu código também.

Removed assertions for sorted variables.
@Alvimsz

Alvimsz commented Sep 10, 2026

Copy link
Copy Markdown
Author

Renan, agr tá certo?

@Alvimsz Alvimsz left a comment

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

eram esses os valores do exercício?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants