結果 : check for user input python