Inactive Tutor answered 09/07/19
Tutor
New to Wyzant
Honestly this is one of the ways I'd do it. You can also try with regex. Make sure to import re for regex and try re.match("^\d+?\.\d+?", stringName). I can't promise it will work for you but a quick test worked for me.