Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

📝 Adicionado tarefas concluídas - Loui Costa #23

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

louicosta
Copy link

O que?
Resolução dos exercícios sobre funções

Como?

  • Adicionei os arquivos das atividades utilizando a biblioteca math;
  • Adicionei no exercício 17 os 3 tópicos do exercício ao invés de 1.

litros_necessarios = math.ceil(tamanho / cobertura)

#comprar apenas latas de 18 litros
qtd_latas = math.ceil(litros_necessarios / 18)
Copy link
Collaborator

Choose a reason for hiding this comment

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

Não é errado usar 18 (numero de litros), mas imagine em você mesma daqui dois meses olhando esse código. O que significa 18?

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.

2 participants