fork download
  1. x=int(input())
  2. if x%2==0 : print ("P")
  3. else: print ("N")
  4. d=0
  5. while x<0 :
  6. d=d+1
  7. x=x//10
  8. print(d)
Runtime error #stdin #stdout #stderr 0.01s 27672KB
stdin
Standard input is empty
stdout
Standard output is empty
stderr
Traceback (most recent call last):
  File "./prog.py", line 1, in <module>
EOFError: EOF when reading a line