[Tutor] while loop for satisfing two conditions , advice requested

2006-01-15 Thread John Joseph
Hi I am trying to use “while” loop , here I want while loop to check for two conditions , I am not getting an idea how to use “while” loop for checking two conditions I used condition , but it is not giving me the expected results I used in this way

Re: [Tutor] while loop for satisfing two conditions , advice requested

2006-01-15 Thread Carlo Capuano
Hi while (condition no 1) (condition no2): print Results While (condition no 1) and (condition no2): print Results in python you use the words and, or, not, is like: if myvar1 is not None and myvar2 == '1': print 'what a nice snowing day!' Carlo what is

Re: [Tutor] while loop for satisfing two conditions ,

2006-01-15 Thread Kent Johnson
From: John Joseph [EMAIL PROTECTED] I am trying to use “while” loop , here I want while loop to check for two conditions , I am not getting an idea how to use “while” loop for checking two conditions I used condition , but it is not giving me the expected results

Re: [Tutor] while loop for satisfing two conditions , advice requested

2006-01-15 Thread Pujo Aji
in understanding while loop someone should understand if conditional first.In If conditional there are common relational symbol and and orLet's discuss and conditional Condition 1 Condition 2 ResultTrue True TrueTrue False FalseFalse True False False False FalseIn short, and equal True if and only