Skip to content

Commit

Permalink
Corrigido typo secao02ex25
Browse files Browse the repository at this point in the history
  • Loading branch information
mhenrique94 authored and renzon committed Jun 7, 2022
1 parent 023a1fa commit 4430ab6
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions secao_02_estrutura_de_decisao/ex_25_sherlock.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,25 @@
"Já trabalhou com a vítima?"
O programa deve no final emitir uma classificação sobre a participação da pessoa no crime.
Se a pessoa responder positivamente a 2 questões ela deve ser classificada como "Suspeita",
Se a pessoa responder positivamente a 2 questões ela deve ser classificada como "Suspeito",
entre 3 e 4 como "Cúmplice" e 5 como "Assassino".
Caso contrário, ele será classificado como "Inocente".
>>> investivar('Sim','Sim','Sim','Sim','Sim')
>>> investigar('Sim','Sim','Sim','Sim','Sim')
'Assassino'
>>> investivar('Sim','Sim','Sim','Sim','Não')
>>> investigar('Sim','Sim','Sim','Sim','Não')
'Cúmplice'
>>> investivar('Sim','Sim','Sim','Não','Não')
>>> investigar('Sim','Sim','Sim','Não','Não')
'Cúmplice'
>>> investivar('Sim','Sim','Não','Não','Não')
>>> investigar('Sim','Sim','Não','Não','Não')
'Suspeito'
>>> investivar('Sim','Não','Não','Não','Não')
>>> investigar('Sim','Não','Não','Não','Não')
'Inocente'
>>> investivar('Não','Não','Não','Não','Não')
>>> investigar('Não','Não','Não','Não','Não')
'Inocente'
"""


def investivar(telefonou: str, estava_no_local: str, mora_perto: str, devia: str, trabalhou: str, ):
def investigar(telefonou: str, estava_no_local: str, mora_perto: str, devia: str, trabalhou: str, ):
"""Escreva aqui em baixo a sua solução"""

0 comments on commit 4430ab6

Please sign in to comment.