Is String a Number? (Part II)
给您一个字符串。您的函数应返回 True如果字符串是一个有效的数字(只包含数字和适当位置的 "+-. False.查看掩码:
[+- ][zero or more digits][.][zero or more digits]
当然,并非所有部分都是必要的(但至少有一个数字部分是必要的!)。例如,"+10....
You should be an authorized user in order to see the full description and start solving this mission.