[ create a new paste ] login | about

Link: http://codepad.org/pWxesgk9    [ raw code | output | fork ]

Python, pasted on Mar 9:
1
2
3
4
5
6
7
8
9
10
11
A = 0
B = 0
C = 0
D = 0
E = 0
A = int(raw_input("Introduzca el valor de X: "))
B = 3*(A*A*A)
C = 2*(A)
D = 4
E = B + C - D
print("El resultado de la ecuacion es: %d" %E)


Output:
1
2
3
4
Introduzca el valor de X: Traceback (most recent call last):
  Line 6, in <module>
    A = int(raw_input("Introduzca el valor de X: "))
EOFError


Create a new paste based on this one


Comments: