Subversion Repositories lagranto.wrf

Rev

Rev 2 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

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