From 5c27edce29788e24b0db2e2352b6f1cf4b416a61 Mon Sep 17 00:00:00 2001 From: juniorjse Date: Fri, 1 Oct 2021 18:39:06 -0300 Subject: [PATCH] =?UTF-8?q?Adicionando=20quest=C3=A3o=20-=201050=20URI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- prog1/implementacoes/uri/1050.py | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 prog1/implementacoes/uri/1050.py diff --git a/prog1/implementacoes/uri/1050.py b/prog1/implementacoes/uri/1050.py new file mode 100644 index 00000000..056c7493 --- /dev/null +++ b/prog1/implementacoes/uri/1050.py @@ -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")