x =-12if x >0: zn = 1elif x<0: zn=-1else: zn=0print(zn)
Standard input is empty
-1
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!