-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmozdevz.py
31 lines (26 loc) · 1.33 KB
/
mozdevz.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#!/usr/bin/env python
#**********************************************************************************************************
# This is a dummy script created for fun to answer a few basic questions about the Facebook Group MozDevz *
# There is nothing fancy about it, tweak it, add questions, etc as you see fit *
# *
# Written By: Fei Manheche *
# 07/10/2013 - Maputo Mozambique *
#**********************************************************************************************************
print "--------------------------"
print "| Bem Vindos ao MozDevz! |"
print "--------------------------"
def questions(what):
if what == 'o que e':
print "R: E a comunidade de Desenvolvidores Mocambicanos de Aplicacoes"
elif what == 'o que faz':
print "R: Junta pessoas que queirao/estajam desenvolver aplicacoes ou tenham ideais e interesses em software para ajudar Mocambique."
elif what == 'tenho de ser programador':
print "R: Todos sao bem vindos, nao restrito a desenvolvedores, geeks, amadores, etc. Para estares a ler, quer dizer que es bem vindo ;)"
else:
print "R: Ainda nao tenho a resposta :( Pergunte ao resto da comunidade ;)"
while 1:
userAction = raw_input('Pergunte: ')
if userAction == 'sair':
print "Obrigado pelo interesse ;)"
exit()
questions(userAction)