Skip to content

Commit

Permalink
Adicionando questão - 1050 URI
Browse files Browse the repository at this point in the history
  • Loading branch information
juniorjse committed Oct 1, 2021
1 parent 356477a commit 5c27edc
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 5c27edc

Please sign in to comment.