
No encuentro el error!
Publicado por carballocg (5 intervenciones) el 07/03/2015 22:07:55
hola buenas tardes quiciera si me pueden ayudar me da un error en linea 17, soy muy nuevo en esto de la programacion gracias!
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
N1 =int(raw_input("Dame el valor uno:"))
N2 =int(raw_input("Dame el valor dos:"))
N3 =int(raw_input("Dame el valor tres:"))
if N1 > N2:
if N1 > N3:
if N2 > N3:
print str(N1)+ " - "+ str(N2)+ " - "+ str(N3)
else:
print str(N1)+ " - "+ str(N3)+ " - "+ str(N2)
else:
print str(N3)+ " - "+ str(N2)+ " - "+ str(N1)
else:
if N2 > N3:
if N1 > N3:
print str(N2)+ " - "+ str(N1)+ " - "+ str(N3)
else
print str(N2)+ " - "+ str(N3)+ " - "+ str(N1)
else:
print str(N3)+ " - "+ str(N2)+ " - "+ str(N1)
Valora esta pregunta


-1