Skip to content

Commit

Permalink
Merge pull request #454 from juniorjse/master
Browse files Browse the repository at this point in the history
Adicionando questão - 1050 URI
  • Loading branch information
ummatias authored Oct 1, 2021
2 parents 26c40ca + 5c27edc commit f8d745f
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions prog1/implementacoes/uri/1050.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
ddd=int(input())

if ddd==61:
print("Brasilia")

elif ddd==71:
print("Salvador")

elif ddd==11:
print("Sao Paulo")

elif ddd==21:
print("Rio de Janeiro")

elif ddd==32:
print("Juiz de Fora")

elif ddd==19:
print("Campinas")

elif ddd==27:
print("Vitoria")

elif ddd==31:
print("Belo Horizonte")
else:
print("DDD nao cadastrado")

0 comments on commit f8d745f

Please sign in to comment.