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 ITER? www.iter.org

_______________________________________________
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor

Reply via email to