Rev 2 | Blame | Compare with Previous | Last modification | View Log | Download | RSS feed
#!/usr/bin/python import sys s = sys.argv[1]; try: float(s) print(1) except ValueError: print(0) quit()
#!/usr/bin/python
import sys
s = sys.argv[1];
try:
float(s)
print(1)
except ValueError:
print(0)
quit()