N=int(input())iloczyn=1for i in range(N): x=float(input()) iloczyn=iloczyn*xprint(iloczyn)
4 -1 2 -3 4.5
27.0
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!