cdactvm commited on
Commit
dbb14d8
·
verified ·
1 Parent(s): c5bf7fc

Delete isNumber.py

Browse files
Files changed (1) hide show
  1. isNumber.py +0 -9
isNumber.py DELETED
@@ -1,9 +0,0 @@
1
- # Function to check if the string is a number
2
- def is_number(x):
3
- if type(x) == str:
4
- x = x.replace(',', '')
5
- try:
6
- float(x)
7
- except:
8
- return False
9
- return True