Exercicios semana 2 - prof Belissa - estudante Cris Pereira#17
Open
namucris wants to merge 1 commit intoreprograma:mainfrom
Open
Exercicios semana 2 - prof Belissa - estudante Cris Pereira#17namucris wants to merge 1 commit intoreprograma:mainfrom
namucris wants to merge 1 commit intoreprograma:mainfrom
Conversation
|
|
||
| qtde_eficiente_latas, qtde_eficiente_galoes = casaCor(tamanho_parede,rendimento,tam_latas,tam_galoes) | ||
| print("Para menor desperdício de tinta, compre",qtde_eficiente_latas,"latas e",qtde_eficiente_galoes,"galões") | ||
| print("O valor total do orçamento com menor desperdício de tinta é: R$",qtde_eficiente_latas*preco_latas+qtde_eficiente_galoes*preco_galoes) No newline at end of file |
Collaborator
There was a problem hiding this comment.
Arrasou MUITO!
Tratou vários (possivelmente todos) os casos de contorno, usou variáveis significativas, usou corretamente múltiplos retornos na função, usou perfeitamente função com argumento opcional.
IMPECÁVEL!
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
O que é: Exercicios da semana 2 passados pela prof Belissa feitos pela Cristiane Pereira
Data de entregra: 16/08/2023
Há três exercícios.
Exercicio 3: criei um programa com uma função que soma três argumentos.
Exercicio 16: criei um programa que calcula quantidade de latas de tinta para comprar a depender da área informada pelo usuário.
Exercicio 17: criei um programa que calcula quantidade de latas de tinta ou galões para comprar a depender da área informada pelo usuário. Há a função adicional de informar a quantidade mais eficiente de compra de modo a evitar desperdício de tinta.
Beijim
Cris