Usuario:Damaya59/Ejercicio 15

De Wikilibros, la colección de libros de texto de contenido libre.

#CONTRATO: tipo de angulo (entero→cadena)

#PROPOSITO: determinar el tipo de angulo.

#DEFINICION:

def tipo de angulo(x):

   read x
if x==90 : 
   print "el angulo es recto" 
ëlif x>90:
   print "EL ANGULO ES OBTUSO"
  else :
   print " EL ANGULO ES AGUDO"  

#EJEMPLO: TIPO ANGULO (90), debe dar "EL ANGULO ES RECTO" print tipo de angulo