
Siempre me devuelve que esta en reposo
Publicado por mauro (14 intervenciones) el 08/11/2018 02:25:46
1
2
3
4
5
6
7
8
velocidad_inicial_1 = float(input("Ingrese la velocidad inicial (en m/s)"))
tiempo_1 = float(input("Ingrese el tiempo(en s)"))
a = float(input("ingrese aceleracion(en m/s^2)"))
pos = velocidad_inicial_1*tiempo_1 + 1/2 * a * tiempo_1**2
if 0<pos<0:
print("se encuentra de subida:")
else:
print("se encuentra detenido")
CUANDO EJECUTO Y PONGO CUALQUIER VALOR ME SALTA QUE SIEMPRE ESTA EN REPOSO, QUE ES LO QUE ESTOY HACIENDO MAL?
Valora esta pregunta


0