Subversion Repositories lagranto.wrf

Rev

Rev 2 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 michaesp 1
#!/usr/bin/python
2
 
3
import sys
4
s = sys.argv[1]; 
5
 
6
try:
7
    float(s)
8
    print(1)
9
except ValueError:
10
    print(0)
11
 
12
quit()