-
Notifications
You must be signed in to change notification settings - Fork 28
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
Adiciona novo arquivo projeto.py para nota final #11
base: main
Are you sure you want to change the base?
Conversation
nota final aula 5 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💯 congrats
print(dataset) | ||
|
||
def mostrar_receita(): | ||
ano = input("digite o ano que gostaria de saber a receita") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
print("-----MENU LOJA-----") | ||
print("Adicionar novo registro - 1") | ||
print("Calcular receita do ano escolhido - 2") | ||
print("Calcular mês com melhor receita - 3") | ||
|
||
opt=input("Digite a opçao desejada:") | ||
if opt =="1": | ||
adicionar_registro() | ||
elif opt=="2": | ||
mostrar_receita() | ||
elif opt == "3": | ||
calcular_mes_maior_menor_receita() | ||
else: | ||
print("Opção inválida. Por favor, digite uma opção válida.") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sem o while , seu programa vai ser executado só uma vez. É a intenção?
valor_total += receita | ||
print(valor_total) | ||
|
||
def calcular_mes_maior_menor_receita(): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Não acho que seja para calcular o mês
Nota final aula 5