Return to Snippet

Revision: 28208
at July 3, 2010 22:46 by frannlu


Initial Code
# Operadores matematicos
print "25 == 46 es", 25 == 46
print "24 == 14 es ", 24 == 14
print "24 < 36 es ", 24 < 36
print "12 > 67 = ", 12 > 67
print "\n" #Retorno de Carro

# Usando parentesis
print "(24 < 36) == (50 < 51) es ", (24 < 36) == (50 < 51)
print "\n"

# Uso de parentesis operadores matematicos
print "Sin parentesis 2 + 2 * 5 es igual a ", 2 + 2 * 5
print "Con parentesis (2 + 2) * 5 es igual a ", (2 + 2) * 5
print "\n"

Initial URL

                                

Initial Description

                                

Initial Title
Blanca y Corchea

Initial Tags

                                

Initial Language
Python