I'm writing a program and it asks the user to input a number, I need to make sure that that number is and actual number not a string. That number can be positive or negative. I've tried using .isnumerical() and .isdigit() but they won't except negative numbers.
lowest_num = input("What would you like the lowest possible number to be?")
while lowest_num.isdigit() is not True:
lowest_num = (input("Please only enter a number : ")).lower()
Thanks for the help in advance