Hi elParaguayo, I do have variables declared in actual program. I have fixed my post. Thanks.elParaguayo wrote:You only define that variable it your first if test is not satisfied. Either include a line to set tbe variable or change the indents of your print statements