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

Adicionando resposta do desafio. #10

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

Conversation

EmiliaElyson
Copy link

Usei basicamente tudo o que foi usado no projeto de sábado. Com uma única coisa martelando e dando erro. Mas todo o resto convicta que fiz certo.

Copy link
Collaborator

@manuellysuzik manuellysuzik left a comment

Choose a reason for hiding this comment

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

uhul 😄

if opt == "3":
ano_maior_menor()
elif opt == "4":
print("Saída")
Copy link
Collaborator

Choose a reason for hiding this comment

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

Só printar não é o suficiente para o seu programa ser interrompido.

Comment on lines +51 to +54
elif opt == "2":
calcular_receita()

if opt == "3":
Copy link
Collaborator

Choose a reason for hiding this comment

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

O melhor é não pular de uma condição para outra. Nesses casos tente todos os if juntos.

Comment on lines +63 to +66
ano_receita = input("Digite o ano da receita correspondente: ")
mes_receita = input("Digite o mês da receita correspondente: ")
faturamento = input("Digite o faturamento correspondente: ")
despesas = input("Digite a despesa correspondente: ")
Copy link
Collaborator

Choose a reason for hiding this comment

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

lembre-se de respeitar o tipo dos registros do dataset


print(dataset)

print("OPÇÃO ESCOLHIDA: 1")
Copy link
Collaborator

Choose a reason for hiding this comment

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

Esse tipo de mensagem é melhor ser exibida no começo da função , não no final 😄

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