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

Adiciona novo arquivo projeto.py para nota final #11

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

Conversation

Josyce2
Copy link

@Josyce2 Josyce2 commented May 1, 2024

Nota final aula 5

@Josyce2
Copy link
Author

Josyce2 commented May 1, 2024

nota final aula 5

@Josyce2 Josyce2 closed this May 1, 2024
@Josyce2 Josyce2 reopened this May 1, 2024
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.

💯 congrats

print(dataset)

def mostrar_receita():
ano = input("digite o ano que gostaria de saber a receita")
Copy link
Collaborator

Choose a reason for hiding this comment

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

image
não é possível fazer calculo com strings 😢

Comment on lines +40 to +53
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.")
Copy link
Collaborator

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():
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 acho que seja para calcular o mês

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