?- test_strings(["123", "0.123", "-123.1", "NotNum", "1."]). 123 is a number. 0.123 is a number. -123.1 is a number. NotNum is not a number. 1. is not a number. true.