fork download
  1. h=eval(input())
  2. h2=format(h/100,'.2f')
  3. w=input()
  4. b=format(w/(h**2),'.2f')
  5.  
  6. print(h,h2,w,b,type(h),type(h2),type(w),type(b))
Runtime error #stdin #stdout #stderr 0.03s 126592KB
stdin
159
57
stdout
Standard output is empty
stderr
Traceback (most recent call last):
  File "prog.py", line 1, in <module>
    h=eval(input())
TypeError: eval() arg 1 must be a string or code object