346
Comentarios y sugerencias / Re:Merengue
« en: Agosto 08, 2010, 07:35:19 a. m. »
Vamos a mirar de habilitarlo, seguramente sea posible si admite mod_wgsi. Te lo confirmamos en breve y pondremos un ejemplo.
Options +FollowSymLinks
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteRule ^media/(.*)$ ./virtualmedicaloffice/media$1 [L]
</IfModule>
months = ('enero', 'febrero', 'marzo', 'abril', 'mayo', 'junio', 'julio', 'agosto', 'septiembre', octubre', 'noviembre', 'diciembre')
for m in months:
print m
def sumay(x, y ,z):
if x > z and y > z:
suma = x + y
return suma
elif x > y and z > y:
suma = x + z
return suma
else:
suma = y + z
return suma
total = sumay(10, 11, 12)
print total
def sumay(x, y ,z):
value = 0
if x > z and y > z:
value = x + y
elif x > y and z > y:
value = x + z
else:
value = y + z
return value
total = sumay(10, 11, 12)
print total